Explorar el Código

testcolorspace: added an additional PQ blend color case

Sam Lantinga hace 1 mes
padre
commit
982787979f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      test/testcolorspace.c

+ 2 - 0
test/testcolorspace.c

@@ -454,6 +454,7 @@ static void RenderBlendDrawing(void)
                (cr.r == 191 && cr.g == 162 && cr.b == 82)) {
                (cr.r == 191 && cr.g == 162 && cr.b == 82)) {
         DrawText(x, y, "Correct blend color, blending in sRGB space");
         DrawText(x, y, "Correct blend color, blending in sRGB space");
     } else if ((cr.r == 214 && cr.g == 156 && cr.b == 113) ||
     } else if ((cr.r == 214 && cr.g == 156 && cr.b == 113) ||
+               (cr.r == 214 && cr.g == 155 && cr.b == 113) ||
                (cr.r == 215 && cr.g == 155 && cr.b == 113) ||
                (cr.r == 215 && cr.g == 155 && cr.b == 113) ||
                (cr.r == 215 && cr.g == 154 && cr.b == 112)) {
                (cr.r == 215 && cr.g == 154 && cr.b == 112)) {
         DrawText(x, y, "Correct blend color, blending in PQ space");
         DrawText(x, y, "Correct blend color, blending in PQ space");
@@ -517,6 +518,7 @@ static void RenderBlendTexture(void)
                (cr.r == 191 && cr.g == 162 && cr.b == 82)) {
                (cr.r == 191 && cr.g == 162 && cr.b == 82)) {
         DrawText(x, y, "Correct blend color, blending in sRGB space");
         DrawText(x, y, "Correct blend color, blending in sRGB space");
     } else if ((cr.r == 214 && cr.g == 156 && cr.b == 113) ||
     } else if ((cr.r == 214 && cr.g == 156 && cr.b == 113) ||
+               (cr.r == 214 && cr.g == 155 && cr.b == 113) ||
                (cr.r == 215 && cr.g == 155 && cr.b == 113) ||
                (cr.r == 215 && cr.g == 155 && cr.b == 113) ||
                (cr.r == 215 && cr.g == 154 && cr.b == 112)) {
                (cr.r == 215 && cr.g == 154 && cr.b == 112)) {
         DrawText(x, y, "Correct blend color, blending in PQ space");
         DrawText(x, y, "Correct blend color, blending in PQ space");