Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
5400c4a8fc | |||
039ae5f134 |
@ -25,7 +25,7 @@ project(TrippyCube C CXX)
|
||||
|
||||
# Binary filename
|
||||
set(TARGET_NAME "trippy-cube")
|
||||
set(TARGET_VERSION "v2.0")
|
||||
set(TARGET_VERSION "v2.0.1")
|
||||
|
||||
# Use DEBUG by default
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
|
@ -73,11 +73,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
if(args.fullscreen)
|
||||
{
|
||||
SDL_SetWindowBordered(window, SDL_FALSE);
|
||||
SDL_SetWindowFullscreen(window,
|
||||
SDL_WINDOW_FULLSCREEN_DESKTOP);
|
||||
}
|
||||
SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN);
|
||||
|
||||
SDL_SetRelativeMouseMode(SDL_TRUE);
|
||||
SDL_GLContext glcontext = SDL_GL_CreateContext(window);
|
||||
|
Reference in New Issue
Block a user