X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgx%2Fglgfx.pas;h=1237550cc98d8b425a42f041810b30681702fe78;hb=97ca06fae5cdf1d5ca6235d7c10b2635cbcb8382;hp=84bbe534e6109242155034c68c8be8cd46123569;hpb=cd4267cdb40a9994eec9b093c45f711b2fa6d259;p=d2df-sdl.git diff --git a/src/gx/glgfx.pas b/src/gx/glgfx.pas index 84bbe53..1237550 100644 --- a/src/gx/glgfx.pas +++ b/src/gx/glgfx.pas @@ -1,4 +1,5 @@ -(* Copyright (C) DooM 2D:Forever Developers +(* coded by Ketmar // Invisible Vector + * Understanding is not required. Only obedience. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -11,7 +12,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with this program. If not, see . *) {$INCLUDE ../shared/a_modes.inc} unit glgfx; @@ -1245,6 +1246,7 @@ begin glDisable(GL_TEXTURE_2D); if (not isScaled) then begin + glLineWidth(1); glBegin(GL_LINES); glVertex2f(x+0.375, y+0.375); glVertex2f(x+len+0.375, y+0.375); @@ -1269,6 +1271,7 @@ begin glDisable(GL_TEXTURE_2D); if (not isScaled) then begin + glLineWidth(1); glBegin(GL_LINES); glVertex2f(x+0.375, y+0.375); glVertex2f(x+0.375, y+len+0.375); @@ -1297,6 +1300,7 @@ begin if (not isScaled) then begin + glLineWidth(1); glBegin(GL_LINES); glVertex2f(x1+0.375, y1+0.375); glVertex2f(x2+0.375, y2+0.375); @@ -1311,6 +1315,7 @@ begin end else begin + glLineWidth(1); glBegin(GL_LINES); glVertex2i(x1, y1); glVertex2i(x2, y2); @@ -1341,6 +1346,7 @@ begin end else begin + glLineWidth(1); glBegin(GL_LINES); glVertex2i(x, y); glVertex2i(x+w, y); // top glVertex2i(x, y+h-1); glVertex2i(x+w, y+h-1); // bottom @@ -1397,6 +1403,7 @@ begin begin if not scaled then begin + glLineWidth(1); glBegin(GL_LINES); glVertex2i(x, y); glVertex2i(x+w, y); // top glVertex2i(x, y+h-1); glVertex2i(x+w, y+h-1); // bottom