UI: Perf: Port color widgets to batch.
This is more for completeness than perf. Shader is tiny bit more complex but we get less overdraw and drawcalls.
This commit is contained in:
@@ -712,7 +712,7 @@ typedef struct uiWidgetBaseParameters {
|
||||
float color_tria[4];
|
||||
float tria1_center[2], tria2_center[2];
|
||||
float tria1_size, tria2_size;
|
||||
float shade_dir, clamp;
|
||||
float shade_dir, do_alpha_check;
|
||||
} uiWidgetBaseParameters;
|
||||
|
||||
enum {
|
||||
|
||||
Reference in New Issue
Block a user