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

Game console rendering errors #2

Open
clort81 opened this issue Oct 24, 2021 · 3 comments
Open

Game console rendering errors #2

clort81 opened this issue Oct 24, 2021 · 3 comments

Comments

@clort81
Copy link

clort81 commented Oct 24, 2021

I see problems with scrolling game-console in today's build.
System:
libsdl2-2.0-0 Version: 2.0.16+dfsg1-5
aarch64, gcc-11

eureka_sdl

@clort81
Copy link
Author

clort81 commented Oct 24, 2021

Possible there's some unsafe math being used to scroll that console window.

@nondeterministic
Copy link
Owner

Thanks for pointing this out. I'm just starting to catch up with github issues again... Sorry. Will write a bit more when I have had a chance to look at what's going on. But unsafe math is a good guess. :-)

@clort81
Copy link
Author

clort81 commented Dec 16, 2021

I tested a fresh build with flags="-O2 -march=armv8-a+crypto+crc+aes+sha2"
The same breakage occurred in the text window.
Here was console output.

INFO: SDLWindow::init() called.
INFO: sdlwindow.cc: Created SDL window 1024x768
INFO: sdlwindow.cc: SDL renderer supports accelerated rendering.
Failed to create secure directory (/run/user/1001/pulse): No such file or directory
INFO: sdlwindow.cc: Created arena texture inside with dimensions w: 612, h: 740, inside SDL-Window with dimensions: w: 1024, h: 768
INFO: icons.cc: Assigned/reserved how many icons props? 1500.
INFO: icons.cc: Assigned/reserved how many icons props? 441.
INFO: world.cc: Loading spells...
INFO: icons.cc: Converted and stored 1500 icons.
INFO: icons.cc: Converted and stored 420 icons

If there are some things i should try toggling/changing to help narrow it down, I'd be happy to do it.

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

No branches or pull requests

2 participants