projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
quick backup of the renderer - things missing
[demo]
/
src
/
opengl
/
opengl.cc
diff --git
a/src/opengl/opengl.cc
b/src/opengl/opengl.cc
index
d2aea3b
..
a7ca8c1
100644
(file)
--- a/
src/opengl/opengl.cc
+++ b/
src/opengl/opengl.cc
@@
-7,10
+7,6
@@
extern GLFWwindow *win;
extern int win_h;
extern int win_w;
extern int win_h;
extern int win_w;
-/* static test_* functions are going to be removed: just to test the shaders */
-static void test_draw();
-static void test_torus();
-
bool init_opengl()
{
if(!glfwInit()) {
bool init_opengl()
{
if(!glfwInit()) {
@@
-44,10
+40,4
@@
void display_opengl()
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glClearColor(0.5, 0.5, 0.5, 1.0);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glClearColor(0.5, 0.5, 0.5, 1.0);
-}
-
-static void test_draw()
-{
- /* this function is going to be removed, it's here only to test the shaders */
-
}
\ No newline at end of file
}
\ No newline at end of file