summaryrefslogtreecommitdiff
path: root/src/OffscreenContextWGL.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-03-04 02:23:03 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-03-04 02:23:03 (GMT)
commit94d4acf76566ec2bc24f60b78d46690df6d3370d (patch)
treead3aa52bb83d8f98ba249a02f958ccabe33826a4 /src/OffscreenContextWGL.cc
parent689fdad0acfd17aa2676bd5bcf34ebba29c383a5 (diff)
cleanup tab spacing
Diffstat (limited to 'src/OffscreenContextWGL.cc')
-rw-r--r--src/OffscreenContextWGL.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/OffscreenContextWGL.cc b/src/OffscreenContextWGL.cc
index 4fe4c65..0ccd68d 100644
--- a/src/OffscreenContextWGL.cc
+++ b/src/OffscreenContextWGL.cc
@@ -126,8 +126,8 @@ bool create_wgl_dummy_context(OffscreenContext &ctx)
int chosenformat;
HDC dev_context = GetDC( window );
if ( dev_context == NULL ) {
- cerr << "MS GDI - GetDC failed\n";
- return false;
+ cerr << "MS GDI - GetDC failed\n";
+ return false;
}
ZeroMemory( &pixformat, sizeof( pixformat ) );
@@ -187,7 +187,7 @@ OffscreenContext *create_offscreen_context(int w, int h)
return NULL;
}
- return create_offscreen_context_common( ctx );
+ return create_offscreen_context_common( ctx );
}
bool teardown_offscreen_context(OffscreenContext *ctx)
@@ -207,8 +207,8 @@ bool teardown_offscreen_context(OffscreenContext *ctx)
bool save_framebuffer(OffscreenContext *ctx, std::ostream &output)
{
- if (!ctx) return false;
+ if (!ctx) return false;
wglSwapLayerBuffers( ctx->dev_context, WGL_SWAP_MAIN_PLANE );
- return save_framebuffer_common( ctx, output );
+ return save_framebuffer_common( ctx, output );
}
contact: Jan Huwald // Impressum