restored transparent background functionality
This commit is contained in:
parent
48811806e7
commit
80a28a15af
|
@ -15,14 +15,6 @@ public class Test extends BaseGame {
|
||||||
public Test() {
|
public Test() {
|
||||||
super(new Vec2i(40 * 12, 22 * 12), "Skunkworks");
|
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)" +
|
var path = "C:\\Program Files (x86)" +
|
||||||
"\\Steam\\steamapps\\common\\Unreal " +
|
"\\Steam\\steamapps\\common\\Unreal " +
|
||||||
"Tournament\\System\\UnrealTournament.ini";
|
"Tournament\\System\\UnrealTournament.ini";
|
||||||
|
|
|
@ -360,7 +360,7 @@ public class Window extends BaseWindow {
|
||||||
glBindFramebuffer(GL_FRAMEBUFFER, framebuffer);
|
glBindFramebuffer(GL_FRAMEBUFFER, framebuffer);
|
||||||
glViewport(0, 0, size.getX(), size.getY());
|
glViewport(0, 0, size.getX(), size.getY());
|
||||||
textureAtlas.update();
|
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);
|
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||||
glDepthFunc(GL_LESS);
|
glDepthFunc(GL_LESS);
|
||||||
//glBegin(GL_TRIANGLES);
|
//glBegin(GL_TRIANGLES);
|
||||||
|
|
Loading…
Reference in New Issue