pBufferAGL stub typos

This commit is contained in:
Mark Watkins 2011-06-18 05:03:24 +10:00
parent 7f5848591d
commit 7ccbdd6b4c
3 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -19,10 +19,10 @@
<File name="../../src/graphs/gl_pbuffer.cpp" open="1" top="0" tabpos="5">
<Cursor position="3" topLine="0" />
</File>
<File name="../../src/graphs/gl_pbuffer.h" open="1" top="0" tabpos="6">
<File name="../../src/graphs/gl_pbuffer.h" open="1" top="1" tabpos="6">
<Cursor position="401" topLine="0" />
</File>
<File name="../../src/graphs/graph.cpp" open="1" top="1" tabpos="3">
<File name="../../src/graphs/graph.cpp" open="1" top="0" tabpos="3">
<Cursor position="2743" topLine="83" />
</File>
<File name="../../src/graphs/graph.h" open="1" top="0" tabpos="4">

View File

@ -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 );