mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sokol: allow thirdparty window control (#14896)
This commit is contained in:
parent
ec75860453
commit
7c3571b274
@ -57,7 +57,11 @@ $if gcboehm ? {
|
||||
}
|
||||
|
||||
#include "sokol_v.pre.h"
|
||||
// To allow for thirdparty initializing window / acceleration contexts
|
||||
// but still be able to use sokol.gfx e.g. SDL+sokol_gfx
|
||||
$if !no_sokol_app ? {
|
||||
#include "sokol_app.h"
|
||||
}
|
||||
#define SOKOL_IMPL
|
||||
#define SOKOL_NO_DEPRECATED
|
||||
#include "sokol_gfx.h"
|
||||
|
Loading…
Reference in New Issue
Block a user