Skip to content

Commit

Permalink
sdl: render, video: Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
malashin committed Nov 23, 2017
1 parent d577b44 commit 3d9462c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sdl/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ static inline int SDL_UpdateYUVTexture(SDL_Texture* texture, const SDL_Rect* rec
}
#endif
*/
import "C"
import (
"C"
"reflect"
"unsafe"
)
Expand Down
6 changes: 2 additions & 4 deletions sdl/video.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ static void SDL_SetWindowResizable(SDL_Window *window, SDL_bool resizable)
#define SDL_GL_CONTEXT_NO_ERROR (0)
#endif
*/
import (
"C"
"unsafe"
)
import "C"
import "unsafe"

// An enumeration of window states.
// (https://wiki.libsdl.org/SDL_WindowFlags)
Expand Down

0 comments on commit 3d9462c

Please sign in to comment.