1
0
Fork 0

Spectre/Graphics/PixelFormat: Rework

source/Graphics/Image/IcoFormat.cpp: use new PixelFormat.
source/Graphics/Image.cpp: update to confirm with new PixelFormat
Spectre/Graphics/PixelFormat: add PF_getNumChannels()
Spectre/Graphics/PixelFormat: Rework the enum with proper naming convention and documentation.
This commit is contained in:
Henrik Hautakoski 2020-11-03 14:20:36 +01:00
parent 82add50157
commit c731cda1a2
5 changed files with 73 additions and 16 deletions

View file

@ -100,6 +100,7 @@ local graphics_module = Module("source/Graphics", {
"Image.cpp",
"ImageLoader.cpp",
"Image/IcoFormat.cpp",
"PixelFormat.cpp",
"OpenGL.cpp",
"GL/glad.c",