Wednesday, December 21, 2011

[DDraw-C++] Getting E_INVALIDARG during blitting 4BPP surfaces - GameDev.net


[DDraw-C++] Getting E_INVALIDARG during blitting 4BPP surfaces
GameDev.net
I started to develop it using GDI but, due to a lot of CPU usage, I decided to port the functions that uses GDI in DirectDraw. The problem is that I'm trying to blit a surface in 4BPP format using RGB indexed colors. The surface in 4BPP is called ...