mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-16 18:50:46 +00:00
pBufferAGL stub typos
This commit is contained in:
parent
7f5848591d
commit
7ccbdd6b4c
@ -8362,7 +8362,7 @@
|
|||||||
"sleeplib/profiles.h"
|
"sleeplib/profiles.h"
|
||||||
"sleeplib/machine_loader.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/font-manager.h"
|
||||||
"freetype-gl/texture-font.h"
|
"freetype-gl/texture-font.h"
|
||||||
"graph.h"
|
"graph.h"
|
||||||
|
@ -19,10 +19,10 @@
|
|||||||
<File name="../../src/graphs/gl_pbuffer.cpp" open="1" top="0" tabpos="5">
|
<File name="../../src/graphs/gl_pbuffer.cpp" open="1" top="0" tabpos="5">
|
||||||
<Cursor position="3" topLine="0" />
|
<Cursor position="3" topLine="0" />
|
||||||
</File>
|
</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" />
|
<Cursor position="401" topLine="0" />
|
||||||
</File>
|
</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" />
|
<Cursor position="2743" topLine="83" />
|
||||||
</File>
|
</File>
|
||||||
<File name="../../src/graphs/graph.h" open="1" top="0" tabpos="4">
|
<File name="../../src/graphs/graph.h" open="1" top="0" tabpos="4">
|
||||||
|
@ -456,8 +456,10 @@ void pBufferGLX::UseBuffer(bool b)
|
|||||||
#elif defined(__DARWIN__) || defined(__WXMAC__)
|
#elif defined(__DARWIN__) || defined(__WXMAC__)
|
||||||
|
|
||||||
pBufferAGL::pBufferAGL(int width, int height)
|
pBufferAGL::pBufferAGL(int width, int height)
|
||||||
:pBuffer(),m_width(width),m_height(height)
|
:pBuffer()
|
||||||
{
|
{
|
||||||
|
m_width=width;
|
||||||
|
m_height=height;
|
||||||
GLint attribs[] = {
|
GLint attribs[] = {
|
||||||
AGL_RGBA,
|
AGL_RGBA,
|
||||||
AGL_DOUBLEBUFFER,
|
AGL_DOUBLEBUFFER,
|
||||||
@ -510,8 +512,6 @@ pBufferAGL::pBufferAGL(int width, int height)
|
|||||||
// stub event loop
|
// stub event loop
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
pBufferAGL::~pBufferAGL()
|
pBufferAGL::~pBufferAGL()
|
||||||
{
|
{
|
||||||
/*aglSetCurrentContext( NULL );
|
/*aglSetCurrentContext( NULL );
|
||||||
|
Loading…
Reference in New Issue
Block a user