Enabled Geometry Shader
Former-commit-id: 06e64ab9019bd8f9ad4a4902e7d2bc23070a4383
This commit is contained in:
parent
b31771471a
commit
291cdeddfa
|
|
@ -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) + ')');
|
||||
|
|
|
|||
Loading…
Reference in New Issue