GPU: Remove GL constant from BIF_glutil
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user