mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
Merge branch 'master' of https://github.com/worklist/hifi into render_voxels_optimization
This commit is contained in:
commit
b35c88029e
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