TexMan.SetCameraToTexture broken since 2D refactor

Bugs that have been investigated and resolved somehow.

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.
Post Reply
Guest

TexMan.SetCameraToTexture broken since 2D refactor

Post by Guest »

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.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: TexMan.SetCameraToTexture broken since 2D refactor

Post by _mental_ »

Ready to use sample will help.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: TexMan.SetCameraToTexture broken since 2D refactor

Post by Graf Zahl »

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: TexMan.SetCameraToTexture broken since 2D refactor

Post by Graf Zahl »

Hardware is fixed as well.
Post Reply

Return to “Closed Bugs [GZDoom]”