Skip to content

Commit

Permalink
Make blank texture have an alpha of 0
Browse files Browse the repository at this point in the history
Fixes Callum's face in funny game

Co-Authored-By: GPUCode <[email protected]>
  • Loading branch information
wheremyfoodat and raphaelthegreat committed Sep 13, 2023
1 parent 2e7bc7c commit eade124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/renderer_gl/renderer_gl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void RendererGL::initGraphicsContext(SDL_Window* window) {

// Clear the texture and then delete FBO
OpenGL::setViewport(8, 8);
gl.setClearColour(0.0, 0.0, 0.0, 1.0);
gl.setClearColour(0.0, 0.0, 0.0, 0.0);
OpenGL::clearColor();
dummyFBO.free();

Expand Down

2 comments on commit eade124

@KostaSaizo7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@wheremyfoodat
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Please sign in to comment.