summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-20 15:20:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-21 15:43:56 +0000
commit56d2cab4704f079ca173d65619432665bc1a1c92 (patch)
tree18fc983d726c2ad5e77bceb78df4dc7abae54c8a /vcl/win
parent29428a5979ecf37eca7eb690a6acbc2897122753 (diff)
split GLWindow into platform dependent parts and move to respective backends
Change-Id: I636d9bdac907000e4089aebdc5548ea89ec58083 Reviewed-on: https://gerrit.libreoffice.org/25252 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/gdi/winlayout.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index 0e39c121c1c7..d00a49e59c71 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -2768,19 +2768,6 @@ bool UniscribeLayout::DrawCachedGlyphsUsingGLyphy(SalGraphics& rGraphics) const
rGraphics.GetOpenGLContext()->UseNoProgram();
-#if 0
- HDC hDC = rGraphics.GetOpenGLContext()->getOpenGLWindow().hDC;
- HBITMAP hbitmap = (HBITMAP)GetCurrentObject(hDC, OBJ_BITMAP);
-
- SAL_ DEBUG("hdc=" << hDC << " hbitmap=" << hbitmap);
- if (hbitmap != NULL) {
- BITMAP bm;
- GetObjectW(hbitmap, sizeof(bm), &bm);
- SAL_ DEBUG(" size=" << bm.bmWidth << "x" << bm.bmHeight <<
- " bpp=" << bm.bmBitsPixel);
- }
-#endif
-
glUseProgram( mrWinFontEntry.mnGLyphyProgram );
CHECK_GL_ERROR();
demo_atlas_set_uniforms( mrWinFontEntry.mpGLyphyAtlas );