mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-12 01:21:23 -07:00
Switch to GL3bc, change mipmap code to glGenerateMipmap
This commit is contained in:
parent
87f04ac0e0
commit
240862d626
2 changed files with 25 additions and 5 deletions
|
|
@ -654,7 +654,7 @@ public final class GlRenderer {
|
|||
if (!canvas.isDisplayable()) {
|
||||
return -1;
|
||||
}
|
||||
GLProfile profile = GLProfile.get(GLProfile.GL2);
|
||||
GLProfile profile = GLProfile.get(GLProfile.GL3bc);
|
||||
@Pc(8) GLCapabilities capabilities = new GLCapabilities(profile);
|
||||
if (numSamples > 0) {
|
||||
capabilities.setSampleBuffers(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue