msz9's picture

Unable to find an entry point named 'glGenerateMipmap' in DLL 'opengl32.dll'.

I get that error on this line:

Can you help?


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Your video card does not support OpenGL v3.0+. Use GL.Ext.GenerateMipmaps() instead.

msz9's picture

"Unable to find an entry point named 'glGenerateMipmapEXT' in DLL 'opengl32.dll'."
My video card should be fine, it works with other softwares, but when I try to build this it won't work.

the Fiddler's picture

This means that your card does not support the GL_EXT_framebuffer_object extension, which implies either old drivers or an old Intel videocard (or both). In this case, enable automatic mipamp generation by adding GL.TexParameter(..., GenerateMipmaps, ...) just before your GL.TexImage2d(...) calls.

That's the most compatible solution and should be supported pretty much everywhere.