Commits

Alex Szpakowski  committed 7f4b836

Add internal support for tesselation control and evaluation shaders (not that they'll ever be used), now that GLee has definitions for them

  • Participants
  • Parent commits 5f20461

Comments (0)

Files changed (1)

File src/modules/graphics/opengl/ShaderEffect.cpp

 		shadertype = GL_VERTEX_SHADER;
 		shadertypename = "vertex";
 		break;
+	case TYPE_TESSCONTROL:
+		shadertype = GL_TESS_CONTROL_SHADER;
+		shadertypename = "tesselation control";
+		break;
+	case TYPE_TESSEVAL:
+		shadertype = GL_TESS_EVALUATION_SHADER;
+		shadertypename = "tesselation evaluation";
+		break;
 	case TYPE_GEOMETRY:
-		shadertype = GL_GEOMETRY_SHADER_ARB;
+		shadertype = GL_GEOMETRY_SHADER;
 		shadertypename = "geometry";
 		break;
 	case TYPE_FRAGMENT: