Skip to content

Commit

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

// An enumeration of flags used when creating a rendering context.
// (https://wiki.libsdl.org/SDL_RendererFlags)
Expand Down
2 changes: 1 addition & 1 deletion sdl/video.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ static void SDL_SetWindowResizable(SDL_Window *window, SDL_bool resizable)
#define SDL_GL_CONTEXT_NO_ERROR (0)
#endif
*/
import "C"
import (
"C"
"unsafe"
)

Expand Down

0 comments on commit d577b44

Please sign in to comment.