File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,22 +141,22 @@ public GLTexture(final GL4 pGL,
141141 }
142142 break ;
143143 case 2 :
144- if (mType == GLTypeEnum .UnsignedByte ) {
144+ if (mType == GLTypeEnum .UnsignedShort ) {
145145 mTextureOpenGLFormat = GL4 .GL_RG_INTEGER ;
146146 } else {
147147 mTextureOpenGLFormat = GL4 .GL_RG ;
148148 }
149149 break ;
150150 case 3 :
151- if (mType == GLTypeEnum .UnsignedByte ) {
151+ if (mType == GLTypeEnum .UnsignedShort ) {
152152 mTextureOpenGLFormat = GL4 .GL_RGB_INTEGER ;
153153 } else {
154154 mTextureOpenGLFormat = GL4 .GL_RGB ;
155155 }
156156 break ;
157157 case 4 :
158158 default :
159- if (mType == GLTypeEnum .UnsignedByte ) {
159+ if (mType == GLTypeEnum .UnsignedShort ) {
160160 mTextureOpenGLFormat = GL4 .GL_RGBA_INTEGER ;
161161 } else {
162162 mTextureOpenGLFormat = GL4 .GL_RGBA ;
You can’t perform that action at this time.
0 commit comments