mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-09-12 14:01:59 -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) {
|
public void render(Window window, Context ctx, Vector3f ambientLight, DirectionalLight directionalLight, List<Chunk> chunks, Block [] blocks) {
|
||||||
if (window.isResized()) {
|
if (window.isResized()) {
|
||||||
glViewport(0, 0, window.getWidth(), window.getHeight());
|
glViewport(0, 0, window.getWidth(), window.getHeight());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user