Skip to content

[BUG] The "Default" option for Anisotropic filetering causes a crash #3413

@Enjay001

Description

@Enjay001

GZDoom version

g4.15pre-645-g092b9c051

Which game are you running with GZDoom?

Doom

What Operating System are you using?

Windows 10

Please describe your specific OS version

No response

Relevant hardware info

No response

Have you checked that no other similar issue already exists?

  • I have searched and not found similar issues.

A clear and concise description of what the bug is.

In the options menu: display options/anisotropic filter, if you scroll through the options, eventually the game will crash when you get to item 0, "default":

OptionValue "Anisotropy"
{
	0, "$OPTVAL_DEFAULT"
	1, "$OPTVAL_OFF"
	2, "$OPTVAL_2X"
	4, "$OPTVAL_4X"
	8, "$OPTVAL_8X"
	16, "$OPTVAL_16X"
}

You can scroll through the options in either direction. So it will go 8x, 16x, crash or 8x, 4x, 2x, off, crash.

CrashReport.zip

Steps to reproduce the behaviour.

Explain how to reproduce

  1. Go to options
  2. Go to Display options
  3. Got to Anisotropic Filter
  4. press the left or right buttons to scroll through the choices
  5. when the choice comes around to option 0, the game will (probably) crash.

Your configuration

Provide a Log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions