changeset 28069:74b62cf052af

10l, add forgotten a #ifndef GL_WIN32, fixes win32 builds.
author reimar
date Fri, 05 Dec 2008 23:35:32 +0000
parents 279cc24cb5cc
children 9c1fdc6420be
files libvo/vo_gl.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Fri Dec 05 22:35:24 2008 +0000
+++ b/libvo/vo_gl.c	Fri Dec 05 23:35:32 2008 +0000
@@ -392,8 +392,10 @@
     DeleteBuffers(2, gl_buffer_uv);
   gl_buffer_uv[0] = gl_buffer_uv[1] = 0; gl_buffersize_uv = 0;
   gl_bufferptr_uv[0] = gl_bufferptr_uv[1] = 0;
+#ifndef GL_WIN32
   if (mesa_bufferptr)
     FreeMemoryMESA(mDisplay, mScreen, mesa_bufferptr);
+#endif
   mesa_bufferptr = NULL;
   err_shown = 0;
 }