diff options
Diffstat (limited to '3rdparty/bgfx/examples/common/nanovg/nanovg.h')
-rw-r--r-- | 3rdparty/bgfx/examples/common/nanovg/nanovg.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/3rdparty/bgfx/examples/common/nanovg/nanovg.h b/3rdparty/bgfx/examples/common/nanovg/nanovg.h index 1f55dcd3f70..692d1bd2be8 100644 --- a/3rdparty/bgfx/examples/common/nanovg/nanovg.h +++ b/3rdparty/bgfx/examples/common/nanovg/nanovg.h @@ -598,8 +598,10 @@ struct NVGparams { }; typedef struct NVGparams NVGparams; -NVGcontext* nvgCreate(int edgeaa, unsigned char viewid); -void nvgViewId(struct NVGcontext* ctx, unsigned char viewid); +namespace bx { struct AllocatorI; } + +NVGcontext* nvgCreate(int edgeaa, unsigned char _viewId, bx::AllocatorI* _allocator = NULL); +void nvgViewId(struct NVGcontext* ctx, unsigned char _viewId); void nvgDelete(struct NVGcontext* ctx); // Constructor and destructor, called by the render back-end. |