projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
terrain working - no culling
[demo]
/
src
/
gfxapi.cc
diff --git
a/src/gfxapi.cc
b/src/gfxapi.cc
index
58692a3
..
2987a59
100644
(file)
--- a/
src/gfxapi.cc
+++ b/
src/gfxapi.cc
@@
-14,6
+14,8
@@
static Gfx_API api;
void (*gfx_clear)(float r, float g, float b);
void (*gfx_viewport)(int x, int y, int width, int height);
void (*gfx_clear)(float r, float g, float b);
void (*gfx_viewport)(int x, int y, int width, int height);
+void (*gfx_zbuffer)(bool enable);
+void (*gfx_cull_face)(Gfx_cull_face cf);
bool gfx_init(Gfx_API api)
bool gfx_init(Gfx_API api)
@@
-100,5
+102,5
@@
char *gfx_get_shader_path()
case GFX_VK:
return (char *)"vk_shaders";
}
case GFX_VK:
return (char *)"vk_shaders";
}
- return (char*)"";
+ return (char *)"";
}
\ No newline at end of file
}
\ No newline at end of file