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

sokol: add screenshot function to OpenGL based backends (#12169)

This commit is contained in:
Larpon
2021-10-13 20:22:58 +02:00
committed by GitHub
parent 97e999768a
commit 5bfa3d5530
5 changed files with 64 additions and 2 deletions

View File

@ -49,10 +49,11 @@ $if gcboehm ? {
#define SOKOL_FREE GC_FREE
}
#include "sokol_v.h"
#include "sokol_v.pre.h"
#include "sokol_app.h"
#define SOKOL_IMPL
#define SOKOL_NO_DEPRECATED
#include "sokol_gfx.h"
#define SOKOL_GL_IMPL
#include "util/sokol_gl.h"
#include "sokol_v.post.h"