Skip to content

Commit

Permalink
gitignore, not resizable
Browse files Browse the repository at this point in the history
  • Loading branch information
guzba committed Oct 19, 2021
1 parent 59c5f5c commit 9009d90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ nimcache
*.ilk
.*
*.dylib
*.dll
5 changes: 3 additions & 2 deletions examples/sdl2_basic.nim
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ let window = createWindow(
100,
windowSize.x,
windowSize.y,
SDL_WINDOW_OPENGL or SDL_WINDOW_RESIZABLE
SDL_WINDOW_OPENGL
)
var context = window.glCreateContext()

discard window.glCreateContext()

loadExtensions()

Expand Down

0 comments on commit 9009d90

Please sign in to comment.