Skip to content

Commit

Permalink
gl: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Apr 23, 2015
1 parent 6974f05 commit c1c9bb0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils/OpenGLHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 254,11 @@ int bytesOfGLFormat(GLenum format, GLenum dataType)
break;
}
switch (format) {
#ifdef GL_RGB_422_APPLE
#ifdef GL_YCBCR_422_APPLE
case GL_YCBCR_422_APPLE:
return 2;
#endif
#ifdef GL_RGB_422_APPLE
case GL_RGB_422_APPLE:
return 2;
#endif
Expand Down

0 comments on commit c1c9bb0

Please sign in to comment.