GPU: Remove GL constant from BIF_glutil

This commit is contained in:
2020-07-26 19:50:15 +02:00
parent 18cca0e704
commit 025dc31d28
16 changed files with 126 additions and 188 deletions

View File

@@ -773,9 +773,8 @@ void ui_draw_but_IMAGE(ARegion *UNUSED(region),
(float)rect->ymin,
ibuf->x,
ibuf->y,
GL_RGBA,
GL_UNSIGNED_BYTE,
GL_NEAREST,
GPU_RGBA8,
false,
ibuf->rect,
1.0f,
1.0f,
@@ -2545,9 +2544,8 @@ void ui_draw_but_TRACKPREVIEW(ARegion *UNUSED(region),
rect.ymin + 1,
drawibuf->x,
drawibuf->y,
GL_RGBA,
GL_UNSIGNED_BYTE,
GL_LINEAR,
GPU_RGBA8,
true,
drawibuf->rect,
1.0f,
1.0f,