mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-21 12:52:19 +00:00
Use GLSM instead of relying on the redirector
This commit is contained in:
1 parent
70cfa2ae90
commit
5f61e387fb
84 files changed
+628
-1140
No files matched your search
@@ -31,8 +31,8 @@ public class CenterDepthSampler {
|
||||
private boolean destroyed;
|
||||
|
||||
public CenterDepthSampler(IntSupplier depthSupplier, float halfLife) {
|
||||
this.texture = GL11.glGenTextures();
|
||||
this.altTexture = GL11.glGenTextures();
|
||||
this.texture = GLStateManager.glGenTextures();
|
||||
this.altTexture = GLStateManager.glGenTextures();
|
||||
this.framebuffer = new GlFramebuffer();
|
||||
|
||||
// Fall back to a less precise format if the system doesn't support OpenGL 3
|
||||
|
||||
Reference in new issue
Block a user