[Max2D] DirectX and RenderTargets
BlitzMax Forums/BlitzMax Programming/[Max2D] DirectX and RenderTargets
| ||
I'm trying to create a render target in Max2D, but it doesn't work. I'm not really familiar with DX7 so i need help. I already created a surface, and set it as render target using: device.SetRenderTarget( surface, 0 ) But nothing happens. Max2D still renders to the back buffer. I hope you can help me. |
| ||
You need to hack the modules since BMAX does not create surfaces that can be rendered to. I suggest you download some of the render to texture code to see how it's done. |
| ||
Okay, i will try. Thank you, Indiepath! |
| ||
would be nice if this was added to the official libs. |