fix depth clearing, ghostly modes not using depth layers, ortho with 0..1
This commit is contained in:
@ -71,6 +71,9 @@ void clear_draw_buffer(void) {
|
||||
(1.0f / 255) * 230,
|
||||
(1.0f / 255) * 230, 1);
|
||||
|
||||
glDepthRange(0.0, 1.0);
|
||||
glDepthMask(GL_TRUE);
|
||||
|
||||
/* TODO: don't clear color when skybox is applied? */
|
||||
/* for that window should match framebuffer */
|
||||
/* also it is driver dependent, from what i can gather */
|
||||
|
Reference in New Issue
Block a user