Skip to content

Commit 56bde22

Browse files
authored
fix: buffers: fix incorrect formats
1 parent 3827778 commit 56bde22

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/content/docs/current/Reference/Buffers/image_format.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Unsigned normalized buffers support values from 0.0 to 1.0 (inclusive).
2828
| `RGBA8` | 4×8 | `RGBA` | `UNSIGNED_BYTE` | ✔️ | |
2929
| `RGB10_A2` | 10/10/10/2 | `RGBA` | `UNSIGNED_INT_2_10_10_10_REV` | ✔️ | |
3030
| `RGBA4`* | 4×4 | `RGBA` | `UNSIGNED_SHORT_4_4_4_4_REV` || OpenGL 4.2+ |
31-
| `GL_RGB5_A1` | 5/5/5/1 | `RGBA` | `UNSIGNED_SHORT_1_5_5_5_REV` || OpenGL 4.2+ |
31+
| `RGB5_A1` | 5/5/5/1 | `RGBA` | `UNSIGNED_SHORT_1_5_5_5_REV` || OpenGL 4.2+ |
3232
| `RGB16` | 3×16 | `RGB` | `UNSIGNED_SHORT` || |
3333
| `RGB8` | 3×8 | `RGB` | `UNSIGNED_BYTE` || |
3434
| `RGB565`* | 5/6/5 | `RGB` | `UNSIGNED_SHORT_5_6_5_REV` || OpenGL 4.1+ or [ARB_ES2_compatibility](https://registry.khronos.org/OpenGL/extensions/ARB/ARB_ES2_compatibility.txt) |
@@ -71,7 +71,7 @@ Detailed explanation: [OpenGL Wiki - Small Float Formats](https://www.khronos.or
7171
| `RGB32F` | 3×32 | `RGB` | `FLOAT` ||
7272
| `RGB16F` | 3×16 | `RGB` | `HALF_FLOAT` ||
7373
| `R11F_G11F_B10F` | 11/11/10 | `RGB` | `UNSIGNED_INT_10F_11F_11F_REV`* | ✔️ |
74-
| `RGB9_E5` | [Special](https://www.khronos.org/opengl/wiki/Small_Float_Formats#RGB9_E5) | `RGB` | `5_9_9_9_REV`* ||
74+
| `RGB9_E5` | [Special](https://www.khronos.org/opengl/wiki/Small_Float_Formats#RGB9_E5) | `RGB` | `UNSIGNED_INT_5_9_9_9_REV`* ||
7575
| `RG32F` | 2×32 | `RG` | `FLOAT` | ✔️ |
7676
| `RG16F` | 2×16 | `RG` | `HALF_FLOAT` | ✔️ |
7777
| `R32F` | 1×32 | `RED` | `FLOAT` | ✔️ |
@@ -148,4 +148,4 @@ The shader loader supports some additional pixel types, not directly associated
148148

149149
## Further reading
150150
* [OpenGL Wiki - Image Format](https://www.khronos.org/opengl/wiki/Image_Format)
151-
* [OpenGL Wiki - Normalized Integer](https://www.khronos.org/opengl/wiki/Normalized_Integer)
151+
* [OpenGL Wiki - Normalized Integer](https://www.khronos.org/opengl/wiki/Normalized_Integer)

0 commit comments

Comments
 (0)