diff --git a/Projects/CodeBlocks/SleepyHead.depend b/Projects/CodeBlocks/SleepyHead.depend
index 68a605e3..29fe5b57 100644
--- a/Projects/CodeBlocks/SleepyHead.depend
+++ b/Projects/CodeBlocks/SleepyHead.depend
@@ -8362,7 +8362,7 @@
"sleeplib/profiles.h"
"sleeplib/machine_loader.h"
-1308329528 source:/home/mark/projects/git/sleepyhead/src/graphs/graph.cpp
+1308334546 source:/home/mark/projects/git/sleepyhead/src/graphs/graph.cpp
"freetype-gl/font-manager.h"
"freetype-gl/texture-font.h"
"graph.h"
diff --git a/Projects/CodeBlocks/SleepyHead.layout b/Projects/CodeBlocks/SleepyHead.layout
index 3a5be89a..ac1e38ff 100644
--- a/Projects/CodeBlocks/SleepyHead.layout
+++ b/Projects/CodeBlocks/SleepyHead.layout
@@ -19,10 +19,10 @@
-
+
-
+
diff --git a/src/graphs/gl_pbuffer.cpp b/src/graphs/gl_pbuffer.cpp
index 141766e0..86511651 100644
--- a/src/graphs/gl_pbuffer.cpp
+++ b/src/graphs/gl_pbuffer.cpp
@@ -456,8 +456,10 @@ void pBufferGLX::UseBuffer(bool b)
#elif defined(__DARWIN__) || defined(__WXMAC__)
pBufferAGL::pBufferAGL(int width, int height)
-:pBuffer(),m_width(width),m_height(height)
+:pBuffer()
{
+ m_width=width;
+ m_height=height;
GLint attribs[] = {
AGL_RGBA,
AGL_DOUBLEBUFFER,
@@ -510,8 +512,6 @@ pBufferAGL::pBufferAGL(int width, int height)
// stub event loop
}
-
-}
pBufferAGL::~pBufferAGL()
{
/*aglSetCurrentContext( NULL );