Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
- //AMD fix
- config.useOpenGL3(true, 3, 2);
- 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.useVsync(true);
- config.setWindowedMode(1280, 768);
- new Lwjgl3Application(new LightningBoltTest(), config);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement