summaryrefslogtreecommitdiffstats
path: root/src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4.cpp')
-rw-r--r--src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4.cpp b/src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4.cpp
index 706923298..c2dff740c 100644
--- a/src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4.cpp
+++ b/src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4.cpp
@@ -85,7 +85,7 @@ namespace OpenGL {
namespace {
-GLbitfield memoryBarrierGLBitfield(QMemoryBarrier::Operations barriers)
+GLbitfield memoryBarrierGL4Bitfield(QMemoryBarrier::Operations barriers)
{
GLbitfield bits = 0;
@@ -1306,7 +1306,7 @@ GLint GraphicsHelperGL4::maxClipPlaneCount()
void GraphicsHelperGL4::memoryBarrier(QMemoryBarrier::Operations barriers)
{
- m_funcs->glMemoryBarrier(memoryBarrierGLBitfield(barriers));
+ m_funcs->glMemoryBarrier(memoryBarrierGL4Bitfield(barriers));
}
void GraphicsHelperGL4::enablePrimitiveRestart(int primitiveRestartIndex)