diff options
Diffstat (limited to 'macosx/plugins')
| -rw-r--r-- | macosx/plugins/DFXVideo/macsrc/PluginGLView.m | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m index a27f641f..96b05ff4 100644 --- a/macosx/plugins/DFXVideo/macsrc/PluginGLView.m +++ b/macosx/plugins/DFXVideo/macsrc/PluginGLView.m @@ -569,13 +569,9 @@ void BlitScreen16NS(unsigned char * surf,long x,long y) row = 0; // make sure the reads are aligned while ((int)pD & 0x3) { -#ifdef __POWERPC__ *((unsigned long *)((surf)+(column*lPitch)+(row<<2))) = (*(pD+0)<<16)|(*(pD+1)<<8)|*(pD+2); -#else - *((unsigned long *)((surf)+(column*lPitch)+(row<<2))) = - (*(pD+2)<<16)|(*(pD+1)<<8)|*(pD+0); -#endif + pD+=3; row++; } |
