Skip to content

Commit

Permalink
Try fixing godotengine#38974
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobo-mc authored Mar 25, 2022
1 parent ffea68a commit f2854d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gles2/rasterizer_storage_gles2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ Ref<Image> RasterizerStorageGLES2::_get_gl_image_and_format(const Ref<Image> &p_
r_gl_type = GL_UNSIGNED_BYTE;
} break;
case Image::FORMAT_R8: {
r_gl_internal_format = GL_ALPHA;
r_gl_format = GL_ALPHA;
r_gl_internal_format = GL_LUMINANCE;
r_gl_format = GL_LUMINANCE;
r_gl_type = GL_UNSIGNED_BYTE;

} break;
Expand Down

0 comments on commit f2854d0

Please sign in to comment.