From b64e4da4f920bcb0c655898b10d912cbd2f2fec7 Mon Sep 17 00:00:00 2001
From: marco <marco@5a81b35b-ba03-0410-adc8-b2c5c5119f08>
Date: Sun, 18 Apr 2010 07:52:16 +0000
Subject: [PATCH] add missing _

No comment

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2041 5a81b35b-ba03-0410-adc8-b2c5c5119f08
---
 modules/gfx/src/impl/cgl_offscreen_buffer.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gfx/src/impl/cgl_offscreen_buffer.cc b/modules/gfx/src/impl/cgl_offscreen_buffer.cc
index eb6ec1987..2fc1cd9d1 100644
--- a/modules/gfx/src/impl/cgl_offscreen_buffer.cc
+++ b/modules/gfx/src/impl/cgl_offscreen_buffer.cc
@@ -51,7 +51,7 @@ OffscreenBuffer::OffscreenBuffer(unsigned int width, unsigned int height,
   if (shared) {
     err=CGLCreateContext(pix_format_, CGLGetCurrentContext(), &context_);    
   } else {
-    err=CGLCreateContext(pix_format, NULL, &context_);
+    err=CGLCreateContext(pix_format_, NULL, &context_);
   }
   if(err) {
     LOGN_ERROR("error creating offscreen rendering context. "
-- 
GitLab