mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 14:03:17 +02:00
more typos and issues on mac
This commit is contained in:
parent
862d6abd79
commit
8a93db6f5a
2 changed files with 4 additions and 4 deletions
|
@ -84,8 +84,8 @@ public:
|
|||
GLuint _shader;
|
||||
GLuint _program;
|
||||
|
||||
GLuint _transformCameraSlot = -1;
|
||||
GLuint _transformObjectSlot = -1;
|
||||
GLint _transformCameraSlot = -1;
|
||||
GLint _transformObjectSlot = -1;
|
||||
|
||||
#if (GPU_TRANSFORM_PROFILE == GPU_CORE)
|
||||
#else
|
||||
|
@ -318,7 +318,7 @@ protected:
|
|||
|
||||
#if (GPU_TRANSFORM_PROFILE == GPU_CORE)
|
||||
#else
|
||||
GLuint _program_transformCamera_viewInverse = -1;
|
||||
GLint _program_transformCamera_viewInverse = -1;
|
||||
#endif
|
||||
|
||||
State::Data _stateCache;
|
||||
|
|
|
@ -146,7 +146,7 @@ void GLBackend::updatePipeline() {
|
|||
// If shader program needs the inverseView we need to provide it
|
||||
// YES InverseView in the shade is called View on the Batch interface
|
||||
if (_pipeline._program_transformCamera_viewInverse >= 0) {
|
||||
glUniformMatrix4fv(_pipeline._program_transformCamera_viewInverse, 1, false, &_transform._view);
|
||||
glUniformMatrix4fv(_pipeline._program_transformCamera_viewInverse, 1, false, (const GLfloat*) &_transform._view);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue