test
This commit is contained in:
parent
eddceabffc
commit
731203f47d
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
|
@ -25,7 +25,7 @@ static SDL_GLContext context = NULL;
|
||||||
/* This function runs once at startup. */
|
/* This function runs once at startup. */
|
||||||
SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
|
SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
|
||||||
{
|
{
|
||||||
SDL_SetAppMetadata("Heartbeat", "1.0", "io.typetrait.heartbeat");
|
SDL_SetAppMetadata("Heartbeat", "1.0", "eu.basthet.heartbeat");
|
||||||
|
|
||||||
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
||||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4);
|
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue