resize
This commit is contained in:
parent
afe5384df5
commit
6e29bc4485
2
main.c
2
main.c
|
@ -195,7 +195,7 @@ int SDL_AppInit(int argc, char *argv[]) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
window = SDL_CreateWindow("cgbwebcam", w, h, 0);
|
window = SDL_CreateWindow("cgbwebcam", w, h, SDL_WINDOW_RESIZABLE);
|
||||||
if (!window) {
|
if (!window) {
|
||||||
SDL_Log("Couldn't create window: %s", SDL_GetError());
|
SDL_Log("Couldn't create window: %s", SDL_GetError());
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue