mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 19:28:49 -04:00
Update MainRenderer.java
This commit is contained in:
parent
bc6e357454
commit
a22b419c2b
@ -106,6 +106,7 @@ public class MainRenderer implements IRenderer {
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public void render(Window window, Context ctx, Vector3f ambientLight, DirectionalLight directionalLight, List<Chunk> chunks, Block [] blocks) {
|
||||
if (window.isResized()) {
|
||||
glViewport(0, 0, window.getWidth(), window.getHeight());
|
||||
|
Loading…
x
Reference in New Issue
Block a user