summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneShader.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-25 13:57:33 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-25 13:57:33 +0000
commit9bbaa4df842bf350a5d05233140bb4d631212a11 (patch)
treeedd237654fed0e554163d74741bd2bc2f35f92f4 /gfx/gl/sceneShader.h
parentSwitch to millimeters for spatial units (diff)
downloadilt-9bbaa4df842bf350a5d05233140bb4d631212a11.tar.bz2
ilt-9bbaa4df842bf350a5d05233140bb4d631212a11.tar.xz
ilt-9bbaa4df842bf350a5d05233140bb4d631212a11.zip
Send position and rotation matrix to GPU separately in basic program
Missed from earlier commit
Diffstat (limited to 'gfx/gl/sceneShader.h')
-rw-r--r--gfx/gl/sceneShader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/sceneShader.h b/gfx/gl/sceneShader.h
index 154dc17..83c234c 100644
--- a/gfx/gl/sceneShader.h
+++ b/gfx/gl/sceneShader.h
@@ -32,6 +32,7 @@ class SceneShader {
private:
RequiredUniformLocation modelLoc;
+ RequiredUniformLocation modelPosLoc;
};
class AbsolutePosProgram : public SceneProgram {