Change texture interpolation
This commit is contained in:
@@ -100,6 +100,9 @@ GfxContext_cache_World (GfxContext *self, World *world)
|
||||
SDL_TEXTUREACCESS_TARGET,
|
||||
world->width, world->height);
|
||||
|
||||
/* Make it pixely. */
|
||||
SDL_SetTextureScaleMode (self->world_texture, SDL_SCALEMODE_NEAREST);
|
||||
|
||||
if (!self->world_texture)
|
||||
{
|
||||
g_error ("Failed to create world texture: %s", SDL_GetError ());
|
||||
|
||||
Reference in New Issue
Block a user