Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
- //AMD fix
- config.useGL30 = true;
- ShaderProgram.prependVertexCode = "#version 140\n#define varying out\n#define attribute in\n";
- ShaderProgram.prependFragmentCode = "#version 140\n#define varying in\n#define texture2D texture\n#define gl_FragColor fragColor\nout vec4 fragColor;\n";
- //AMD fix
- config.vSyncEnabled = false;
- config.fullscreen = true;
- config.width = 1280;
- config.height = 768;
- new LwjglApplication(new LightningBoltTest(), config);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement