1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

LibGfx: Slap an -O3 optimization #pragma on FastBoxBlurFilter

This is done elsewhere in LibGfx, but adding it here is more of a
prayer for speed.
This commit is contained in:
MacDue 2022-06-20 12:26:10 +01:00 committed by Linus Groh
parent 30a0ed6678
commit 4ffbe9284e

View file

@ -4,6 +4,10 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#if defined(__GNUC__) && !defined(__clang__)
# pragma GCC optimize("O3")
#endif
#include <AK/Function.h>
#include <AK/Vector.h>
#include <LibGfx/Filters/FastBoxBlurFilter.h>