Skip to content

segmentation fault on SDL_SetTextureScaleMode #1

@greenaddress

Description

@greenaddress

Very nice project! I was playing with it and encountered a seg fault

Using master (w/ head commit 7f9fc68)

on Debian Bullseye which has SDL 2.0.14 I hit a segmentation fault on

 SDL_SetTextureScaleMode(screen->texture, screen->bilinear);                 

I checked and screen is not NULL, texture is not NULL and bilinear is set to 0 - everything else in terms of window/texture/etc seemed fine so not sure what the issue is.

If I uncomment the first one i hit the second one. if i uncomment both everything seems to run ok.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfrontend

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions