diff options
| author | Manolo Gouy <Manolo> | 2016-09-13 10:56:19 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-09-13 10:56:19 +0000 |
| commit | cd7b6a8e873995f7f306b4b6045beb040e5c286c (patch) | |
| tree | 2572bd87a6840b253fd6bf14b825107356f1f477 /src/drivers/OpenGL | |
| parent | 2bb91d900c822bec757108627af04b82b619ff46 (diff) | |
Remove possible warnings when compiling with -Wundef
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11942 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/OpenGL')
| -rw-r--r-- | src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx index 8b216d1ce..21bcf65df 100644 --- a/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx +++ b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.cxx @@ -47,7 +47,7 @@ static uchar *convert_BGRA_to_RGB(uchar *baseAddress, int w, int h, int mByteWid for (int i = h-1; i >= 0; i--) { uchar *from = baseAddress + i * mByteWidth; for (int j = 0; j < w; j++, from += 4) { -#if __ppc__ +#if defined(__ppc__) && __ppc__ memcpy(to, from + 1, 3); to += 3; #else |
