Access violation on wglBindTexImageARB ; due to WGL_FRONT_LEFT_ARB not defined allthoug wglext.h included?
问题 I have an Access violation on this line : if (RTT.wgl.wglBindTexImageARB(RTT.wgl.hBuffer, WGL_FRONT_LEFT_ARB) == FALSE) ShowMessage(AnsiString().sprintf("wglBindTexImageARB returned %i", GetLastError())); The exception is thrown before the getlasterror() call : so getlasterror can't tell anything. When I try to evaluate the expression with Borland Builder's debugger, it says impossible to evaluate : due to WGL_FRONT_LEFT_ARB not defined. So I added wglext.h in the includes : no success, same