fix issue
This commit is contained in:
parent
dd875fc925
commit
c250bfcf42
|
@ -71,7 +71,7 @@ void Graphics::init()
|
|||
}
|
||||
|
||||
m_useFBO = m_useFBO && (GLEW_ARB_framebuffer_object || GLEW_EXT_framebuffer_object);
|
||||
m_generateHardwareMipmaps = m_generateHardwareMipmaps && m_useFBO; // glGenerateMipmap is supported when FBO is
|
||||
m_generateHardwareMipmaps = m_generateHardwareMipmaps && GLEW_ARB_framebuffer_object; // glGenerateMipmap is supported when GLEW_ARB_framebuffer_object is
|
||||
#endif
|
||||
|
||||
glEnable(GL_BLEND);
|
||||
|
|
Loading…
Reference in New Issue