commit 30449bd44266d91e55eea9c8ca539e348cd2535c
parent fb274c453c24297df8f4ce0c292f54c33f09c6a5
Author: Michael Savage <mikejsavage@gmail.com>
Date: Tue, 8 Jan 2019 19:31:42 +0200
Fix screen edge artifacts
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/bsp.cc b/bsp.cc
@@ -367,6 +367,7 @@ GAME_INIT( game_init ) {
TextureConfig texture_config;
texture_config.width = window_size.x;
texture_config.height = window_size.y;
+ texture_config.wrap = TEXWRAP_CLAMP;
FramebufferConfig fb_config;
@@ -391,6 +392,7 @@ GAME_INIT( game_init ) {
TextureConfig texture_config;
texture_config.width = window_size.x;
texture_config.height = window_size.y;
+ texture_config.wrap = TEXWRAP_CLAMP;
FramebufferConfig fb_config;