Greetings, so i'm trying to use vertex buffer objects, however, glGenBuffers is throwing me an access violation
Checklist time:
i have glew installed.
i have freeglut installed
included in this order
Edited by Ussyless, 19 February 2013 - 08:43 PM.
Posted 19 February 2013 - 08:42 PM
Greetings, so i'm trying to use vertex buffer objects, however, glGenBuffers is throwing me an access violation
Checklist time:
i have glew installed.
i have freeglut installed
included in this order
Edited by Ussyless, 19 February 2013 - 08:43 PM.
Posted 20 February 2013 - 04:43 AM
i have tried calling it both before and after the context exists, though currently it's being called before, wasn't sure when it needed to be initialised since it's included before and DevIL is initialised before also
anyway, currently if i run
Edited by Ussyless, 20 February 2013 - 04:50 AM.
Posted 20 February 2013 - 05:12 AM
For any non-trivial program I would suggest having a decent logging mechanism in place (at least writing stuff to the console, better to both the console and a file). With a simple macro all logging overhead can be completely removed by #undefing a single define (like _DEBUG which is already prepared for you with MSVC default configurations).perhaps a small side-question ( perhaps not ), are there any standard libraries/functions i can use to pop up a window in case of for example, a error or a specific scenario easily? (ideally something along the lines of windows::showSplashScreen() or showSplashScreen("An error!") or something like that, doesnt even need text or anything, just some external indicator that something has happened without breakpoints.)