From cb4cb1713d4ac8270f2f9dc06c6f3d13c1451a31 Mon Sep 17 00:00:00 2001 From: degasus Date: Fri, 1 Feb 2013 17:09:50 +0100 Subject: [PATCH] workaround older glew versions --- Source/Plugins/Plugin_VideoOGL/Src/StreamBuffer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/StreamBuffer.cpp b/Source/Plugins/Plugin_VideoOGL/Src/StreamBuffer.cpp index 869ce56c1c..c97e90fba9 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/StreamBuffer.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/StreamBuffer.cpp @@ -20,6 +20,10 @@ #include "GLUtil.h" #include "StreamBuffer.h" +#ifndef EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD +#define EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160 +#endif + namespace OGL {