Browse Source

Fixed GL.

Branimir Karadžić 8 years ago
parent
commit
f84711fc19
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/renderer_gl.cpp

+ 8 - 0
src/renderer_gl.cpp

@@ -5685,6 +5685,14 @@ namespace bgfx { namespace gl
 							);
 					}
 
+//					if (usesTexture3D)
+					{
+						writeString(&writer
+							, "#define texture3DEXT    texture3D\n"
+							  "#define texture3DLodEXT texture3DLod\n"
+							);
+					}
+
 					if (130 <= version)
 					{
 						if (m_type == GL_FRAGMENT_SHADER)