Minor changes, as suggested by Rollerozxa

This commit is contained in:
Functioning Member of Society 2022-10-22 14:33:42 -04:00
parent 037ce2010a
commit 097fe11f21
3 changed files with 5 additions and 4 deletions

View File

@ -20,7 +20,7 @@ class NodeRenderer
} }
renderNode(int x, int y, int z) int renderNode(int x, int y, int z)
{ {
glBegin(GL_QUADS); glBegin(GL_QUADS);
// Front // Front
@ -120,6 +120,7 @@ class NodeRenderer
} }
glEnd(); glEnd();
return 1;
} }
protected: protected:

View File

@ -1,4 +1,4 @@
#include <png.h> #include "stb_image.h"
#ifndef TEXTURE_HANDLER #ifndef TEXTURE_HANDLER
#define TEXTURE_HANDLER #define TEXTURE_HANDLER

View File

@ -128,9 +128,9 @@ int main(int argc, char **argv)
glutInit(&argc, argv); glutInit(&argc, argv);
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH); glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
glutInitWindowSize(800, 600); 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); glEnable(GL_DEPTH_TEST);