Skip to content

Commit

Permalink
Add support for more 64bit uniforms
Browse files Browse the repository at this point in the history
  • Loading branch information
isherman committed Nov 17, 2023
1 parent 539b53f commit 23397ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/pango_opengl/include/pangolin/gl/uniform.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,19 @@ void glUniformArray(GLint location, const T* val);
PANGO_DEF_UNIFORM_ARR(GLfloat, 1fv, 1, 1)
PANGO_DEF_UNIFORM_ARR(GLint, 1iv, 1, 1)
PANGO_DEF_UNIFORM_ARR(GLuint, 1uiv, 1, 1)
PANGO_DEF_UNIFORM_ARR(GLdouble, 1dv, 1, 1)
PANGO_DEF_UNIFORM_ARR(GLfloat, 2fv, 2, 1)
PANGO_DEF_UNIFORM_ARR(GLint, 2iv, 2, 1)
PANGO_DEF_UNIFORM_ARR(GLuint, 2uiv, 2, 1)
PANGO_DEF_UNIFORM_ARR(GLdouble, 2dv, 2, 1)
PANGO_DEF_UNIFORM_ARR(GLfloat, 3fv, 3, 1)
PANGO_DEF_UNIFORM_ARR(GLint, 3iv, 3, 1)
PANGO_DEF_UNIFORM_ARR(GLuint, 3uiv, 3, 1)
PANGO_DEF_UNIFORM_ARR(GLdouble, 3dv, 3, 1)
PANGO_DEF_UNIFORM_ARR(GLfloat, 4fv, 4, 1)
PANGO_DEF_UNIFORM_ARR(GLint, 4iv, 4, 1)
PANGO_DEF_UNIFORM_ARR(GLuint, 4uiv, 4, 1)
PANGO_DEF_UNIFORM_ARR(GLdouble, 4dv, 4, 1)
#undef PANGO_DEF_UNIFORM_ARR

#define PANGO_DEF_UNIFORM_MAT_ARR(type, postfix, R, C) \
Expand Down

0 comments on commit 23397ae

Please sign in to comment.