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

Test Program Does Not Work With Visual Studio 2022 #56

Open
jaredhagel opened this issue May 11, 2023 · 0 comments
Open

Test Program Does Not Work With Visual Studio 2022 #56

jaredhagel opened this issue May 11, 2023 · 0 comments

Comments

@jaredhagel
Copy link

I get numerous errors when trying to run test\main.c within Visual Studio 2022. These are some of the errors:

First call to 'SDL_SetRenderTarget' within 'FC_UploadGlyphCache' results in numerous assertions within the FlushRenderCommands function in the SDL2 file render\SDL_render.c.

Assertion that fails is this:
SDL_assert((renderer->render_commands == NULL) == (renderer->render_commands_tail == NULL));

If you ignore the assertions above, then a 'read access violation' also occurs in the same call to 'SDL_SetRenderTarget' when this function eventually calls SDL_LockMutex_srw within the SDL2 file src\thread\windows\SDL_sysmutex.c

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

1 participant