Spoiler: Video
Crash when switching to hardware accelerated in Hexen
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.
Crash when switching to hardware accelerated in Hexen
In the latest dev build (gzdoom-x64-g4.6pre-195-g55ce0510c) when switching from Doom Software Renderer to Hardware Accelerated while in-game, the engine crashes in Hexen unless switching while still in the main menu, before anything is loaded. It only seems to happen with Hexen though. I tried to figure out if any of the rendering options I had set were causing it, but it crashed no matter what, with Vulkan, OpenGL and SoftPoly. I hope this is enough info!
Re: Crash when switching to hardware accelerated in Hexen
Adding nullptr checks fixed the problem partially, but not completely.
I suspect that the GL nodes are not loaded properly when the renderer is switched.
I suspect that the GL nodes are not loaded properly when the renderer is switched.
- drfrag
- Vintage GZDoom Developer
- Posts: 3141
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
- Contact:
Re: Crash when switching to hardware accelerated in Hexen
It's something about polyobjects. It crashes here in HWWall::DoTexture:
Seems sub gets some weird value somewhere (initializing it in HWWall doesn't work).
Code: Select all
// Add this wall to the render list
sector_t * sec = sub ? sub->sector : seg->frontsector;