Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from SDL2 to Raylib for Display Handling #10

Merged
merged 5 commits into from
Jul 11, 2024

Conversation

ZzzhHe
Copy link
Contributor

@ZzzhHe ZzzhHe commented Jul 11, 2024

Migrate from SDL2 to Raylib for Display Handling

This pull request migrates the SimpleRenderer project from SDL2 to Raylib(a very simple and easy-to-use library to create a window and display) for window and graphics management. Additionally, it enhances the build and debugging configuration in VSCode.

Key Changes:

  • Migration to Raylib: Replaced SDL2 with Raylib for managing window creation, and image rendering.

  • Window Class Update: Updated the Window class to utilize Raylib functions for displaying images and handling user input.

  • OpenGL Dependency: Integrated glad.c for constructing OpenGL helper later.

TO-DO:

  1. Add Keyboard Event Handling:
  • Implement keyboard event handling in the Window class, similar to the previous SDL2 version.
  1. Debug Abort trap Error in simple_renderer Class:
  • Investigate and resolve the Abort trap error occurring when initializing the simple_renderer class. Fixing this bug will allow the renderer’s result to be displayed on the screen.

@ZzzhHe ZzzhHe merged commit 3abc7b7 into Simple-XX:raylib-migration Jul 11, 2024
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant