Some logic errors
This commit is contained in:
@@ -88,7 +88,7 @@ public:
|
||||
typedef enum {
|
||||
LOGGER_INFO = CONSOLE_COLOUR_FG_GREEN,
|
||||
LOGGER_WARN = CONSOLE_COLOUR_FG_YELLOW,
|
||||
LOGGER_ERROR = CONSOLE_COLOUR_FG_RED,
|
||||
LOGGER_ERROR = CONSOLE_COLOUR_FG_LIGHT_RED,
|
||||
LOGGER_PANIC = CONSOLE_COLOUR_FG_RED,
|
||||
LOGGER_DEBUG = CONSOLE_COLOUR_FG_BLUE
|
||||
} LogType;
|
||||
|
||||
@@ -47,8 +47,8 @@ int main(int argc, char** argv) {
|
||||
SDL_GL_SetAttribute(SDL_GL_BUFFER_SIZE, 32);
|
||||
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
||||
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3);
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3);
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4);
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 5);
|
||||
|
||||
window = SDL_CreateWindow("OpenGL Playground V1.0",
|
||||
SDL_WINDOWPOS_CENTERED,
|
||||
@@ -82,7 +82,7 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
FPSCalculateLast = timer.now();
|
||||
|
||||
// Update tick
|
||||
// Update tick (60ups)
|
||||
if (SDL_GetTicks() - UpdateClock >= 10) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user