git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34959 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
David McPaul 2010-01-08 21:27:42 +00:00
parent 2a30aab6f4
commit 7789e74c32

View File

@ -46,7 +46,7 @@ CPUCapabilities cpu;
}
if (pixelFormat == PIX_FMT_YUV420P || pixelFormat == PIX_FMT_YUVJ420P) {
if (cpu.HasSSE2() && width % 8 == 0 && height % 2 == 0 ) {
if (cpu.HasSSE2() && width % 8 == 0 && height % 2 == 0) {
TRACE("resolve_colorspace: gfx_conv_yuv420p_rgba32_sse2\n");
return gfx_conv_yuv420p_rgba32_sse2;
} else {