restored transparent background functionality

This commit is contained in:
DaniTheSkunk 2022-11-29 09:05:21 +00:00
parent 48811806e7
commit 80a28a15af
2 changed files with 1 additions and 9 deletions

View File

@ -15,14 +15,6 @@ public class Test extends BaseGame {
public Test() {
super(new Vec2i(40 * 12, 22 * 12), "Skunkworks");
var clientID = "thvs1beyj8w6ono2jqirdz7uuu62qu";
var token = TwitchOauth.getToken(
clientID,
new String[]{"chat:read", "chat:write"}
);
var path = "C:\\Program Files (x86)" +
"\\Steam\\steamapps\\common\\Unreal " +
"Tournament\\System\\UnrealTournament.ini";

View File

@ -360,7 +360,7 @@ public class Window extends BaseWindow {
glBindFramebuffer(GL_FRAMEBUFFER, framebuffer);
glViewport(0, 0, size.getX(), size.getY());
textureAtlas.update();
glClearColor(0.f, 0.f, 0.f, 1.0f);
glClearColor(0.f, 0.f, 0.f, 0.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glDepthFunc(GL_LESS);
//glBegin(GL_TRIANGLES);