diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-21 13:06:37 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-03 14:44:11 +0200 |
commit | e0c20725c8c7b516ed500b570fcf134534efd6b3 (patch) | |
tree | ca604891742f134e4d30390c97a3714e410fde8f /client/windows/red_pixmap_sw.cpp | |
parent | c1b7ecac3f51a2818bf7abd00d27f0475b507ba1 (diff) | |
download | spice-e0c20725c8c7b516ed500b570fcf134534efd6b3.tar.gz spice-e0c20725c8c7b516ed500b570fcf134534efd6b3.tar.xz spice-e0c20725c8c7b516ed500b570fcf134534efd6b3.zip |
s/USE_OGL/USE_OPENGL
This is more explicit about what it does, and not much longer
Diffstat (limited to 'client/windows/red_pixmap_sw.cpp')
-rw-r--r-- | client/windows/red_pixmap_sw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/windows/red_pixmap_sw.cpp b/client/windows/red_pixmap_sw.cpp index a72d8704..991b6735 100644 --- a/client/windows/red_pixmap_sw.cpp +++ b/client/windows/red_pixmap_sw.cpp @@ -52,7 +52,7 @@ RedPixmapSw::RedPixmapSw(int width, int height, RedDrawable::Format format, bitmap_info.inf.bmiHeader.biWidth = _width; bitmap_info.inf.bmiHeader.biHeight = top_bottom ? -_height : _height; -/*#ifdef USE_OGL +/*#ifdef USE_OPENGL // ----------------------------------------------------------------------------- // ensure valid access to additional stride. // apparently glReadPixels validate ((ptr of last line) + GL_PACK_ROW_LENGTH + 1). @@ -98,7 +98,7 @@ RedPixmapSw::RedPixmapSw(int width, int height, RedDrawable::Format format, if (!bitmap.valid()) { THROW("create compatible bitmap failed"); } -/*#ifdef USE_OGL +/*#ifdef USE_OPENGL SetWindowOrgEx(dc.get(), 0, -1, NULL); // compensate for one pad line #endif*/ ((RedPixmap_p*)get_opaque())->prev_bitmap = (HBITMAP)SelectObject(dc.get(), bitmap.release()); |