summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2021-12-19 12:48:06 +0100
committerRay <[email protected]>2021-12-19 12:48:06 +0100
commit05428df6678dc1448e59ec84ae66caee5eb6b672 (patch)
treefe2908a40b82833c5629372d662e5d45fff108cf /src
parentf5e951145abdd1a6f331fcc3db260a1d2f3a2920 (diff)
downloadraylib-05428df6678dc1448e59ec84ae66caee5eb6b672.tar.gz
raylib-05428df6678dc1448e59ec84ae66caee5eb6b672.zip
ADDED NOTE: ImageDraw() does not support f32bit #2222
Added a note for a future improvement
Diffstat (limited to 'src')
-rw-r--r--src/rtextures.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rtextures.c b/src/rtextures.c
index f4ff272c..f7aee91e 100644
--- a/src/rtextures.c
+++ b/src/rtextures.c
@@ -2769,6 +2769,9 @@ void ImageDraw(Image *dst, Image src, Rectangle srcRec, Rectangle dstRec, Color
// [x] Consider fast path: no alpha blending required cases (src has no alpha)
// [x] Consider fast path: same src/dst format with no alpha -> direct line copy
// [-] GetPixelColor(): Get Vector4 instead of Color, easier for ColorAlphaBlend()
+ // [ ] Support f32bit channels drawing
+
+ // TODO: Support PIXELFORMAT_UNCOMPRESSED_R32, PIXELFORMAT_UNCOMPRESSED_R32G32B32, PIXELFORMAT_UNCOMPRESSED_R32G32B32A32
Color colSrc, colDst, blend;
bool blendRequired = true;