1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

sokol: fix v -Wimpure-v examples/2048/

This commit is contained in:
Delyan Angelov
2022-11-29 13:36:12 +02:00
parent 7df8f063ed
commit 6ef3dfdea9
2 changed files with 0 additions and 0 deletions

12
vlib/sokol/sgl/enums.c.v Normal file
View File

@@ -0,0 +1,12 @@
module sgl
// SglError is C.sgl_error_t
pub enum SglError {
no_error = C.SGL_NO_ERROR // 0
vertices_full = C.SGL_ERROR_VERTICES_FULL
uniforms_full = C.SGL_ERROR_UNIFORMS_FULL
commands_full = C.SGL_ERROR_COMMANDS_FULL
stack_overflow = C.SGL_ERROR_STACK_OVERFLOW
stack_underfloat = C.SGL_ERROR_STACK_UNDERFLOW
no_context = C.SGL_ERROR_NO_CONTEXT
}