Linux build fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7288 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1e367749bd
commit
b8b81001bd
|
@ -145,6 +145,12 @@ if(NOT OPENGL_GLU_FOUND)
|
|||
message(FATAL_ERROR "GLU is required but not found")
|
||||
endif()
|
||||
|
||||
include(FindOpenMP REQUIRED)
|
||||
if(OPENMP_FOUND)
|
||||
add_definitions(${OpenMP_CXX_FLAGS})
|
||||
set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_CXX_FLAGS})
|
||||
endif()
|
||||
|
||||
include(FindALSA OPTIONAL)
|
||||
if(ALSA_FOUND)
|
||||
add_definitions(-DHAVE_ALSA=1)
|
||||
|
|
|
@ -723,7 +723,7 @@ PC_TexFormat TexDecoder_Decode_real(u8 *dst, const u8 *src, int width, int heigh
|
|||
#pragma omp parallel for
|
||||
for (int y = 0; y < height; y += 8)
|
||||
for (int x = 0, yStep = (y / 8) * Wsteps8; x < width; x += 8, yStep++)
|
||||
for (int iy = 0, xStep = yStep * 8 ; iy < 8; iy++,yStep++)
|
||||
for (int iy = 0; iy < 8; iy++,yStep++)
|
||||
for (int ix = 0; ix < 4; ix++)
|
||||
{
|
||||
int val = src[4 * yStep + ix];
|
||||
|
|
Loading…
Reference in New Issue