mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sokol: enable VALIDATE_NON_FATAL
This commit is contained in:
parent
d60ceb45cd
commit
0826102e0a
@ -3,6 +3,8 @@ module sapp
|
|||||||
import os
|
import os
|
||||||
import stbi
|
import stbi
|
||||||
|
|
||||||
|
#define SOKOL_VALIDATE_NON_FATAL 1
|
||||||
|
|
||||||
// v_sapp_gl_read_rgba_pixels reads pixles from the OpenGL buffer into `pixels`.
|
// v_sapp_gl_read_rgba_pixels reads pixles from the OpenGL buffer into `pixels`.
|
||||||
fn C.v_sapp_gl_read_rgba_pixels(x int, y int, width int, height int, pixels charptr)
|
fn C.v_sapp_gl_read_rgba_pixels(x int, y int, width int, height int, pixels charptr)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user