I can’t frame debug, reason glTexEnvi
I use d3d9, who knows why?
Something in your app or framework must be using immediate-mode OpenGL features. Perhaps you can take a look at your executable with Dependency Walker to see which module is linking to OpenGL32.dll.
I found the problem because i used ilu, after I remove this lib, it works, thank you danprice
Hi,
We should have meet this before, please check https://devtalk.nvidia.com/default/topic/817554/ in which it has the similar issue as yours:
DevIL will call glTexEnvi in ilutGLInit(), and that’s the init function call as a part of DevIL Library. Just comment out ilutRenderer(ILUT_OPENGL); ilutInit(); then recompile, looks what will happen.
Thanks
An