mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-26 05:51:52 +00:00
Request GL BSP instead of requiring automap texturing to be on
This commit is contained in:
parent
dc0e6d40a4
commit
9820a6cb88
3 changed files with 7 additions and 1 deletions
|
@ -68,7 +68,7 @@ CUSTOM_CVAR(Bool, r_newrenderer, 0, CVAR_NOINITCALL)
|
|||
{
|
||||
if (self == 1 && !hasglnodes)
|
||||
{
|
||||
Printf("No GL BSP detected. You must enable automap texturing and then restart the map\n");
|
||||
Printf("No GL BSP detected. You must restart the map before rendering will be correct\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -258,6 +258,11 @@ int FSoftwareRenderer::GetMaxViewPitch(bool down)
|
|||
return (r_newrenderer) ? int(maxviewpitch) : (down ? MAX_DN_ANGLE : MAX_UP_ANGLE);
|
||||
}
|
||||
|
||||
bool FSoftwareRenderer::RequireGLNodes()
|
||||
{
|
||||
return r_newrenderer;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// OnModeSet
|
||||
|
|
|
@ -28,6 +28,7 @@ struct FSoftwareRenderer : public FRenderer
|
|||
virtual void DrawRemainingPlayerSprites() override;
|
||||
|
||||
virtual int GetMaxViewPitch(bool down) override;
|
||||
bool RequireGLNodes() override;
|
||||
|
||||
void OnModeSet () override;
|
||||
void ErrorCleanup () override;
|
||||
|
|
Loading…
Reference in a new issue