From: curt Date: Tue, 12 Jun 2001 19:07:13 +0000 (+0000) Subject: Fixed panel edge artifacts (due to forced wrapping of background texture) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5f71bca30396b25247e3263ce37a4a011df9ad09;p=flightgear.git Fixed panel edge artifacts (due to forced wrapping of background texture) --- diff --git a/src/Cockpit/panel.cxx b/src/Cockpit/panel.cxx index 869aa7114..9537af7be 100644 --- a/src/Cockpit/panel.cxx +++ b/src/Cockpit/panel.cxx @@ -249,8 +249,8 @@ FGPanel::update () glColor4f(0.7, 0.2, 0.2, 1.0); } glBindTexture(GL_TEXTURE_2D, _bg->getHandle()); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); + // glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); + // glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); glBegin(GL_POLYGON); glTexCoord2f(0.0, 0.0); glVertex3f(_winx, _winy, 0);