X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fflexui%2Ffui_gfx_gl_cursor.inc;h=3234d0e9f51c35b58461a5a7c6e3d559fe0204f0;hb=c737ec14212534a2b7069615641afdf329ea8cb4;hp=1884c9f1e3114eec209c8f4b31d8080f5a5f48cc;hpb=b4265979da0b4b264d3cd4685af9566d6ae37f2f;p=d2df-sdl.git diff --git a/src/flexui/fui_gfx_gl_cursor.inc b/src/flexui/fui_gfx_gl_cursor.inc index 1884c9f..3234d0e 100644 --- a/src/flexui/fui_gfx_gl_cursor.inc +++ b/src/flexui/fui_gfx_gl_cursor.inc @@ -3,8 +3,7 @@ * * 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 - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * the Free Software Foundation, version 3 of the License ONLY. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -126,7 +125,7 @@ begin //glTexParameterfv(GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, bclr.ptr); glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, curTexWidth, curTexHeight, 0, GL_RGBA{gltt}, GL_UNSIGNED_BYTE, tex); - glFlush(); + glFinish(); finally FreeMem(tex); end;