mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-04 12:58:41 +00:00
d3d11 render backend c++ -> c; raddbg build c++ -> c
This commit is contained in:
+1
-1
@@ -7971,7 +7971,7 @@ df_window_update_and_render(Arena *arena, DF_Window *ws, DF_CmdList *cmds)
|
||||
// rhp: disabled overlay color blends from plain background and inactive panel overlay
|
||||
Vec4F32 bg = df_rgba_from_theme_color(DF_ThemeColor_PlainBackground);
|
||||
Vec4F32 ov = df_rgba_from_theme_color(DF_ThemeColor_InactivePanelOverlay);
|
||||
Vec4F32 color = {};
|
||||
Vec4F32 color = {0};
|
||||
color.x = bg.x * bg.w + ov.x * ov.w * (1.0f - bg.w);
|
||||
color.y = bg.y * bg.w + ov.y * ov.w * (1.0f - bg.w);
|
||||
color.z = bg.z * bg.w + ov.z * ov.w * (1.0f - bg.w);
|
||||
|
||||
+3
-3
@@ -69,9 +69,9 @@ struct DF_KeyMapSlot
|
||||
////////////////////////////////
|
||||
//~ rjf: View Functions
|
||||
|
||||
struct DF_View;
|
||||
struct DF_Panel;
|
||||
struct DF_Window;
|
||||
typedef struct DF_View DF_View;
|
||||
typedef struct DF_Panel DF_Panel;
|
||||
typedef struct DF_Window DF_Window;
|
||||
|
||||
#define DF_VIEW_SETUP_FUNCTION_SIG(name) void name(DF_Window *ws, struct DF_View *view, DF_CfgNode *cfg_root)
|
||||
#define DF_VIEW_SETUP_FUNCTION_NAME(name) df_view_setup_##name
|
||||
|
||||
Reference in New Issue
Block a user