Skip to content
Snippets Groups Projects
Commit 8692b7c7 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent 8892e3e6
No related branches found
No related tags found
No related merge requests found
...@@ -820,8 +820,8 @@ void FlGui::splitCurrentOpenglWindow(char how) ...@@ -820,8 +820,8 @@ void FlGui::splitCurrentOpenglWindow(char how)
void FlGui::copyCurrentOpenglWindowToClipboard() void FlGui::copyCurrentOpenglWindowToClipboard()
{ {
#if defined(WIN32) #if defined(WIN32)
GLint width = FlGui::instance()->getCurrentOpenglWindow()->w(); GLint width = getCurrentOpenglWindow()->w();
GLint height = FlGui::instance()->getCurrentOpenglWindow()->h(); GLint height = getCurrentOpenglWindow()->h();
// lines have to be 32 bytes aligned, suppose 24 bits per pixel; just crop it // lines have to be 32 bytes aligned, suppose 24 bits per pixel; just crop it
width -= width % 4; width -= width % 4;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment