change to a full-screen, borderless window
This commit is contained in:
parent
725d17436b
commit
22dd502d13
12
src/gss.d
12
src/gss.d
@ -6,8 +6,8 @@ import glamour.shader;
|
||||
import glamour.vbo;
|
||||
import gl3n.linalg;
|
||||
|
||||
enum int WIDTH = 800;
|
||||
enum int HEIGHT = 600;
|
||||
enum int WIDTH = 1920;
|
||||
enum int HEIGHT = 1080;
|
||||
|
||||
GLint position_idx;
|
||||
GLint color_idx;
|
||||
@ -82,12 +82,12 @@ int main()
|
||||
return 1;
|
||||
}
|
||||
|
||||
SDL_Window * window = SDL_CreateWindow("d-dub-derelict-sdl2-gl3-demo",
|
||||
SDL_WINDOWPOS_UNDEFINED,
|
||||
SDL_WINDOWPOS_UNDEFINED,
|
||||
SDL_Window * window = SDL_CreateWindow("Gentex ScreenSaver",
|
||||
0,
|
||||
0,
|
||||
WIDTH,
|
||||
HEIGHT,
|
||||
SDL_WINDOW_OPENGL);
|
||||
SDL_WINDOW_OPENGL | SDL_WINDOW_BORDERLESS);
|
||||
SDL_GLContext context = SDL_GL_CreateContext(window);
|
||||
|
||||
if (window == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user