mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-07 06:18:42 +00:00
do not skip 0 with texture formats
This commit is contained in:
@@ -3532,7 +3532,7 @@ RD_VIEW_UI_FUNCTION_DEF(bitmap)
|
|||||||
Vec2S32 dim = v2s32((S32)rd_view_setting_u64_from_name(str8_lit("w")), (S32)rd_view_setting_u64_from_name(str8_lit("h")));
|
Vec2S32 dim = v2s32((S32)rd_view_setting_u64_from_name(str8_lit("w")), (S32)rd_view_setting_u64_from_name(str8_lit("h")));
|
||||||
String8 fmt_string = rd_view_setting_from_name(str8_lit("fmt"));
|
String8 fmt_string = rd_view_setting_from_name(str8_lit("fmt"));
|
||||||
R_Tex2DFormat fmt = R_Tex2DFormat_RGBA8;
|
R_Tex2DFormat fmt = R_Tex2DFormat_RGBA8;
|
||||||
for EachNonZeroEnumVal(R_Tex2DFormat, f)
|
for EachEnumVal(R_Tex2DFormat, f)
|
||||||
{
|
{
|
||||||
if(str8_match(fmt_string, r_tex2d_format_display_string_table[f], StringMatchFlag_CaseInsensitive))
|
if(str8_match(fmt_string, r_tex2d_format_display_string_table[f], StringMatchFlag_CaseInsensitive))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user