Skip to content

Commit

Permalink
[port] Use SIMD code in Invert only if requested
Browse files Browse the repository at this point in the history
  • Loading branch information
grandchild committed Oct 31, 2024
1 parent 5dc093d commit e620362
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion avs/vis_avs/e_invert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,11 @@ int E_Invert::render(char[2][2][576],
if (!enabled) {
return 0;
}
// render_c(framebuffer, w * h);
#ifdef SIMD_MODE_X86_SSE
render_simd(framebuffer, w * h);
#else
render_c(framebuffer, w * h);
#endif
return 0;
}

Expand Down

0 comments on commit e620362

Please sign in to comment.