Skip to content

Commit

Permalink
ofGetImageTypeFromGLType: fix missing GL_R8
Browse files Browse the repository at this point in the history
  • Loading branch information
arturoc committed Aug 24, 2018
1 parent 7075418 commit ec20a86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/openFrameworks/gl/ofGLUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ ofImageType ofGetImageTypeFromGLType(int glType){
case GL_LUMINANCE8:
case GL_LUMINANCE16:
case GL_LUMINANCE32F_ARB:
case GL_R8:
case GL_R16:
case GL_R16F:
case GL_R16I:
Expand Down

0 comments on commit ec20a86

Please sign in to comment.