From 950ded7ab9768cb80117328a5d05dadee0b8b004 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Sun, 8 May 2022 02:06:24 +0200 Subject: [PATCH] LibSoftGPU: Mention correct `i686` target in `Device` comment --- Userland/Libraries/LibSoftGPU/Device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibSoftGPU/Device.cpp b/Userland/Libraries/LibSoftGPU/Device.cpp index e014067e39..e9c17266d6 100644 --- a/Userland/Libraries/LibSoftGPU/Device.cpp +++ b/Userland/Libraries/LibSoftGPU/Device.cpp @@ -447,7 +447,7 @@ void Device::rasterize_triangle(Triangle const& triangle) #else // // This is an interesting quirk that occurs due to us using the x87 FPU when Serenity is - // compiled for the i386 target. When we calculate our depth value to be stored in the buffer, + // compiled for the i686 target. When we calculate our depth value to be stored in the buffer, // it is an 80-bit x87 floating point number, however, when stored into the depth buffer, this is // truncated to 32 bits. This 38 bit loss of precision means that when x87 `FCOMP` is eventually // used here the comparison fails.