28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
From ad3384250e929ceef5149d3bd7677322550ea5c1 Mon Sep 17 00:00:00 2001
|
|
From: Hubert Maier <raziel-@users.noreply.github.com>
|
|
Date: Tue, 8 Nov 2022 13:24:13 +0100
|
|
Subject: [PATCH 217/233] JANITORIAL: (pixel.c) Correct spelling mistakes in
|
|
comments
|
|
|
|
writting -> writing
|
|
---
|
|
src/gl/pixel.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/gl/pixel.c b/src/gl/pixel.c
|
|
index 06838189..34f00db6 100644
|
|
--- a/src/gl/pixel.c
|
|
+++ b/src/gl/pixel.c
|
|
@@ -812,7 +812,7 @@ bool pixel_convert(const GLvoid *src, GLvoid **dst,
|
|
uintptr_t src_pos = widthalign((uintptr_t)src, align);
|
|
uintptr_t dst_pos = widthalign((uintptr_t)*dst, align);
|
|
// fast optimized loop for common conversion cases first...
|
|
- // TODO: Rewrite that with some Macro, it's obviously doable to simplify the reading (and writting) of all this
|
|
+ // TODO: Rewrite that with some Macro, it's obviously doable to simplify the reading (and writing) of all this
|
|
// simple BGRA <-> RGBA / UNSIGNED_BYTE
|
|
if ((((src_format == GL_BGRA) && (dst_format == GL_RGBA)) || ((src_format == GL_RGBA) && (dst_format == GL_BGRA)))
|
|
&& (dst_type == GL_UNSIGNED_BYTE) && ((src_type == GL_UNSIGNED_BYTE))) {
|
|
--
|
|
2.11.0
|
|
|