Skip to content

Commit

Permalink
Fix raspberry pi compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Jan 10, 2025
1 parent e2fd422 commit 89d7fb6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Source/NVGSurface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,8 @@ NVGSurface::NVGSurface(PluginEditor* e)
#ifdef NANOVG_GL_IMPLEMENTATION
glContext = std::make_unique<OpenGLContext>();
auto pixelFormat = OpenGLPixelFormat(8, 8, 16, 8);
// pixelFormat.multisamplingLevel = 1;
// glContext->setMultisamplingEnabled(true);
glContext->setPixelFormat(pixelFormat);
# ifdef NANOVG_GLES_IMPLEMENTATION
glContext->setOpenGLVersionRequired(OpenGLContext::OpenGLVersion::openGL4_1);
# else
# ifdef NANOVG_GL3_IMPLEMENTATION
glContext->setOpenGLVersionRequired(OpenGLContext::OpenGLVersion::openGL3_2);
# endif
glContext->setSwapInterval(0);
Expand Down

0 comments on commit 89d7fb6

Please sign in to comment.