mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 03:09:45 +02:00
Need the ARB suffix on this. I'm surprised it compiled for me!
This commit is contained in:
parent
1c8b835bb8
commit
1f58e28b36
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ ShaderObject::~ShaderObject() {
|
|||
}
|
||||
|
||||
bool ShaderObject::compileSourceCode(const char* data) {
|
||||
glShaderSource(_handle, 1, &data, 0);
|
||||
glShaderSourceARB(_handle, 1, &data, 0);
|
||||
glCompileShaderARB(_handle);
|
||||
int status;
|
||||
glGetObjectParameterivARB(_handle, GL_OBJECT_COMPILE_STATUS_ARB, &status);
|
||||
|
|
Loading…
Reference in a new issue