|
- /*
- * DISTRHO Cardinal Plugin
- * Copyright (C) 2021 Filipe Coelho <falktx@falktx.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 3 of
- * the License, or any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * For a full copy of the GNU General Public License see the LICENSE file.
- */
-
- #include "nanovg.h"
-
- struct NVGLUframebuffer;
- void nvgluBindFramebuffer(NVGLUframebuffer* fb) {}
- NVGLUframebuffer* nvgluCreateFramebuffer(NVGcontext* ctx, int w, int h, int imageFlags) { return nullptr; }
- void nvgluDeleteFramebuffer(NVGLUframebuffer* fb) {}
-
- #if defined(__GNUC__) && (__GNUC__ >= 6)
- # pragma GCC diagnostic push
- # pragma GCC diagnostic ignored "-Wmisleading-indentation"
- # pragma GCC diagnostic ignored "-Wshift-negative-value"
- #endif
-
- #include "nanovg.c"
-
- #if defined(__GNUC__) && (__GNUC__ >= 6)
- # pragma GCC diagnostic pop
- #endif
|