Skip to content

Replace Direct3D proxy with minimal OpenGL backend#1

Open
wowjinxy wants to merge 2 commits intomainfrom
codex/switch-from-d3d8-to-opengl
Open

Replace Direct3D proxy with minimal OpenGL backend#1
wowjinxy wants to merge 2 commits intomainfrom
codex/switch-from-d3d8-to-opengl

Conversation

@wowjinxy
Copy link
Owner

Summary

  • remove Direct3D8 forwarding code and load an OpenGL context instead
  • centralise OpenGL window creation in opengl_utils
  • simplify DllMain to only install hooks and the No-CD patch

Testing

  • i686-w64-mingw32-g++ -std=c++17 -c digi_analysis/opengl_utils.cpp -Ithird_party/minhook/include -o /tmp/opengl_utils.o
  • i686-w64-mingw32-g++ -std=c++17 -c digi_analysis/dllmain.cpp -Ithird_party/minhook/include -o /tmp/dllmain.o

https://chatgpt.com/codex/tasks/task_e_688adc86c71c832f839261bcf249fe4f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant