Skip to content

CALLBACK_SETWINDOWCHANGES doesn't change renderer #261

@MegAmi24

Description

@MegAmi24

Before opening this issue, I ensure that...

  • I have read the FAQ and confirmed my issue is not mentioned in it.
  • I have checked both open and closed issues and confirmed this bug has not already been reported.
  • I am not asking for tech support (e.g. game closing on startup, error when trying to build, etc).
  • I am not asking for modding support or reporting a bug in a specific mod; this bug either occurs without mods enabled or is directly related to the mod loader.
  • This bug is not related to any unofficial fork/port of the decompilation, and any issues with those should be kept in the appropriate repository.

Expected Behavior

CALLBACK_SETWINDOWCHANGES changes both the renderer platform flag and the current renderer

Actual Behavior

The callback only changes the platform flag

Steps to Reproduce

  1. Call CALLBACK_GETWINDOWINFO to get Engine.HardwareRenderer
  2. Flip the variable value
  3. Call CALLBACK_SETWINDOWCHANGES

Screenshots

No response

Log File

No response

Decompilation Version

Release 1.3.3

Game Version

Sonic Origins

Game Revision

2.0.2

Renderer Type

Software Renderer

Platform

Windows

Additional Comments

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions