Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thejudge156 committed Apr 3, 2024
1 parent 07255e0 commit 8fc32f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/jni/tinywrapper/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ void glTexParameterf(GLenum target, GLenum pname, GLfloat param) {
void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *data) {
LOOKUP_FUNC(glTexImage2D)

// Regal doesn't handle Depth textures well
// Convert it to sized GLES formats
// Regal doesn't handle depth formats well
// Convert it to sized GLES formats instead
if(internalformat == GL_DEPTH_COMPONENT) {
switch (type) {
case GL_UNSIGNED_SHORT:
Expand Down

0 comments on commit 8fc32f8

Please sign in to comment.