1
0
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:
Alexander Medvednikov 2023-03-30 00:10:49 +02:00
parent d60ceb45cd
commit 0826102e0a

View File

@ -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)