mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-06 14:19:18 -05:00
Detected issue
This commit is contained in:
@ -1938,6 +1938,8 @@ Model rlglLoadModel(VertexData mesh)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Read screen pixel data (color buffer)
|
// Read screen pixel data (color buffer)
|
||||||
|
// ISSUE: Non pre-multiplied alpha when reading from backbuffer!
|
||||||
|
// TODO: Multiply alpha
|
||||||
unsigned char *rlglReadScreenPixels(int width, int height)
|
unsigned char *rlglReadScreenPixels(int width, int height)
|
||||||
{
|
{
|
||||||
unsigned char *screenData = (unsigned char *)malloc(width*height*sizeof(unsigned char)*4);
|
unsigned char *screenData = (unsigned char *)malloc(width*height*sizeof(unsigned char)*4);
|
||||||
|
|||||||
Reference in New Issue
Block a user