You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.2KB

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