Change window title.

This commit is contained in:
Nicolás Ortega Froysa 2018-10-25 18:39:34 +02:00
parent 26d654cb61
commit 709345afb7
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF

View File

@ -47,7 +47,7 @@ int main() {
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK,
SDL_GL_CONTEXT_PROFILE_CORE);
window = SDL_CreateWindow("OpenGL Tutorial",
window = SDL_CreateWindow("Trippy Cube",
SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,
SCREEN_WIDTH, SCREEN_HEIGHT,
SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN);