Fix problem with glGenerateMipMap in GLES2
Thanks @wolfgang for report and patch: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=52625 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6112 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
		| @@ -434,7 +434,9 @@ public: | ||||
| 		else | ||||
| 		{ | ||||
| #ifdef IRR_OPENGL_HAS_glGenerateMipmap | ||||
| 	#if !defined(IRR_COMPILE_GLES2_COMMON) | ||||
| 			glEnable(GL_TEXTURE_2D);	// Hack some ATI cards need this glEnable according to https://www.khronos.org/opengl/wiki/Common_Mistakes | ||||
| 	#endif | ||||
| 			Driver->irrGlGenerateMipmap(TextureType); | ||||
| #endif | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user