Kyle Benesch

Results 315 comments of Kyle Benesch

Issue #90 might have some useful information. It at least contains what little I know about HighDPI. Is there a cross-platform way to use `Xft.dpi`? How is it normally used?...

Does the environment variable `SDL_VIDEO_HIGHDPI_DISABLED=1` affect the screen size if set before running the program? I've been unable to find an example of implementing `Xft.dpi` in SDL2. Normally the ability...

I guess I need more feedback on this. The SDL docs aren't clear on how you're normally supposed to handle it. If you're [initializing libtcod the modern way](https://libtcod.readthedocs.io/en/latest/guides/getting-started.html) then you...

`check_quadrant` passes `bumps` to `visit_coords` which then passes it to several other functions. Note that the memory allocated for `ViewBumpContainer` is pointed to by the non-owning `ViewBump*` attributes in `View`...

I think you might be correct. How `bumps` is being used is simple enough that it could be replaced with a stb_ds array like `active_views` was. Do you think that...

This is a C99 version, and I don't have benchmarking setup for it so unless it makes the code easier to read I wouldn't worry about changing it. A link...

Turns out I already have a link to that page included in issue #71, that issue tracks FOV resources and the changes I wanted to make to FOV in libtcod...

The OpenGL2 renderer is supposed to prevent atlas bleeding using the GLSL `clamp` function. This works for most cards but breaks with others. You can see the fragment shader here:...

I might need to add a pixel of padding around the tiles or something.

@HunterZ Does setting the environment variable `SDL_RENDER_SCALE_QUALITY=nearest` work as a workaround for you? The OpenGL2 renderer respects the `SDL_HINT_RENDER_SCALE_QUALITY` hint.