Cleanup: remove unused OpenGL functions, rename some for clarity
This commit is contained in:
@@ -3481,12 +3481,12 @@ void draw_nodespace_back_pix(const bContext *C,
|
||||
GPU_blend_set_func_separate(
|
||||
GPU_SRC_ALPHA, GPU_ONE_MINUS_SRC_ALPHA, GPU_ONE, GPU_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
glaDrawImBuf_glsl_ctx(C, ibuf, x, y, GL_NEAREST, snode->zoom, snode->zoom);
|
||||
ED_draw_imbuf_ctx(C, ibuf, x, y, GL_NEAREST, snode->zoom, snode->zoom);
|
||||
|
||||
GPU_blend(false);
|
||||
}
|
||||
else {
|
||||
glaDrawImBuf_glsl_ctx(C, ibuf, x, y, GL_NEAREST, snode->zoom, snode->zoom);
|
||||
ED_draw_imbuf_ctx(C, ibuf, x, y, GL_NEAREST, snode->zoom, snode->zoom);
|
||||
}
|
||||
|
||||
if (cache_handle) {
|
||||
|
||||
Reference in New Issue
Block a user