Enabled Geometry Shader

Former-commit-id: 06e64ab9019bd8f9ad4a4902e7d2bc23070a4383
This commit is contained in:
Lynix
2013-07-09 00:54:52 +02:00
parent b31771471a
commit 291cdeddfa

View File

@@ -618,7 +618,7 @@ bool NzShader::IsTypeSupported(nzShaderType type)
return true;
case nzShaderType_Geometry:
return false; // ??
return NzOpenGL::GetVersion() >= 320;
default:
NazaraError("Shader type not handled (0x" + NzString::Number(type, 16) + ')');