TexMan.SetCameraToTexture broken since 2D refactor
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
TexMan.SetCameraToTexture broken since 2D refactor
Just got latest from git master branch and my mod which uses TexMan.SetCameraToTexture now produces a black texture with the GL renderer, and outright crashes the software renderers (ie when I comment out the call to TexMan.SetCameraToTexture, it doesn't crash). As far as I can tell just about any invocation of that function is broken. Happy to provide more info if needed.
Re: TexMan.SetCameraToTexture broken since 2D refactor
Ready to use sample will help.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: TexMan.SetCameraToTexture broken since 2D refactor
Confirmed. Softpoly works, OpenGL is black and software renderer crashes. Using KDiZD Z1M1.
The main problem here is that the entire implementation of the canvas texture is beyond horrible and therefore susceptible to breaking down.
EDIT: Fixed the software renderer. That one was a relatively simple oversight.
The main problem here is that the entire implementation of the canvas texture is beyond horrible and therefore susceptible to breaking down.
EDIT: Fixed the software renderer. That one was a relatively simple oversight.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: TexMan.SetCameraToTexture broken since 2D refactor
Hardware is fixed as well.