diff --git a/include/NodeRenderer.h b/include/NodeRenderer.h index 1d8024e..96fc164 100644 --- a/include/NodeRenderer.h +++ b/include/NodeRenderer.h @@ -20,7 +20,7 @@ class NodeRenderer } - renderNode(int x, int y, int z) + int renderNode(int x, int y, int z) { glBegin(GL_QUADS); // Front @@ -120,6 +120,7 @@ class NodeRenderer } glEnd(); + return 1; } protected: diff --git a/include/TextureHandler.h b/include/TextureHandler.h index a5c21f4..c08eeb5 100644 --- a/include/TextureHandler.h +++ b/include/TextureHandler.h @@ -1,4 +1,4 @@ -#include +#include "stb_image.h" #ifndef TEXTURE_HANDLER #define TEXTURE_HANDLER diff --git a/main.cpp b/main.cpp index fc8a412..cbfe95a 100644 --- a/main.cpp +++ b/main.cpp @@ -128,9 +128,9 @@ int main(int argc, char **argv) glutInit(&argc, argv); glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH); glutInitWindowSize(800, 600); - glutCreateWindow("Spinning cube"); + glutCreateWindow("XtreemNodes Engine - By MCL Software and Cube Software"); - glClearColor(0, 0, 0, 0); + glClearColor(.2, .7, .8, 255); glEnable(GL_DEPTH_TEST);