Skip to content

Commit d577b44

Browse files
committed
sdl: render, video: Update imports
1 parent 1be7643 commit d577b44

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

sdl/render.go

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ static inline int SDL_UpdateYUVTexture(SDL_Texture* texture, const SDL_Rect* rec
1111
}
1212
#endif
1313
*/
14-
import "C"
15-
import "reflect"
16-
import "unsafe"
14+
import (
15+
"C"
16+
"reflect"
17+
"unsafe"
18+
)
1719

1820
// An enumeration of flags used when creating a rendering context.
1921
// (https://wiki.libsdl.org/SDL_RendererFlags)

sdl/video.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ static void SDL_SetWindowResizable(SDL_Window *window, SDL_bool resizable)
7070
#define SDL_GL_CONTEXT_NO_ERROR (0)
7171
#endif
7272
*/
73-
import "C"
7473
import (
74+
"C"
7575
"unsafe"
7676
)
7777

0 commit comments

Comments
 (0)