lock fails on Windows under msvc
Status: Inactive
Brought to you by:
bmerry
Under Windows 7, a build compiled with VS2008 has following issue:
I am attempting to use gldb-gui to test BuGLe functionality. gldb-gui starts and I am able to open the run dialog and input the path to my desired OpenGL program. Upon starting the program a texture is loaded as part of the program's start up which results in an exception during a call to lock(void) of globjects.c.
From what I can tell a NULL pointer is returned by the line
else return (object *) ans;
in the bugle_object_get_current call resulting from lock. Incase it is of note: ans is not NULL during the above statement.
I am unsure as to why a NULL is returned, and have had little success with looking into the matter further thus far.