Make blank texture have an alpha of 0
Fixes Callum's face in funny game Co-Authored-By: GPUCode <47210458+GPUCode@users.noreply.github.com>
This commit is contained in:
@@ -141,7 +141,7 @@ void RendererGL::initGraphicsContext(SDL_Window* window) {
|
|||||||
|
|
||||||
// Clear the texture and then delete FBO
|
// Clear the texture and then delete FBO
|
||||||
OpenGL::setViewport(8, 8);
|
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();
|
OpenGL::clearColor();
|
||||||
dummyFBO.free();
|
dummyFBO.free();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user