File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 3939* Texture functions
4040*
4141******************************************************************************/
42- fn create_texture (w int , h int , buf & byte ) C.sg_image {
42+ fn create_texture (w int , h int , buf & u8 ) C.sg_image {
4343 sz := w * h * 4
4444 mut img_desc := C.sg_image_desc{
4545 width: w
@@ -407,7 +407,8 @@ fn my_event_manager(mut ev gg.Event, mut app App) {
407407* Main
408408*
409409******************************************************************************/
410- [console ] // is needed for easier diagnostics on windows
410+ // is needed for easier diagnostics on windows
411+ [console ]
411412fn main () {
412413 // App init
413414 mut app := & App{
Original file line number Diff line number Diff line change 33// that can be found in the LICENSE file.
44module builtin
55
6+ type u8 = byte
7+
68/*
79// old function for reference
810pub fn (nn int) str1() string {
You can’t perform that action at this time.
0 commit comments