mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Fix CXX_BUILD errors
This commit is contained in:
parent
83be5a1950
commit
3691f4fabf
@ -190,7 +190,7 @@ bool d3d12_init_base(d3d12_video_t* d3d12)
|
||||
|
||||
IDXGIAdapter_GetDesc(d3d12->adapter, &desc);
|
||||
|
||||
utf16_to_char_string(desc.Description, str, sizeof(str));
|
||||
utf16_to_char_string((const uint16_t*)desc.Description, str, sizeof(str));
|
||||
|
||||
RARCH_LOG("[D3D12]: Using GPU: %s\n", str);
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <gfx/video_frame.h>
|
||||
#include <glsym/glsym.h>
|
||||
#include <string/stdstring.h>
|
||||
#include <retro_math.h>
|
||||
|
||||
#include "../../configuration.h"
|
||||
#include "../../dynamic.h"
|
||||
|
@ -4791,10 +4791,11 @@ bool rarch_write_debug_info(void)
|
||||
|
||||
{
|
||||
float width = 0, height = 0, refresh = 0.0f;
|
||||
gfx_ctx_metrics_t metrics = {0};
|
||||
|
||||
metrics.type = DISPLAY_METRIC_PIXEL_WIDTH;
|
||||
gfx_ctx_metrics_t metrics;
|
||||
|
||||
metrics.type = DISPLAY_METRIC_PIXEL_WIDTH;
|
||||
metrics.value = &width;
|
||||
|
||||
video_context_driver_get_metrics(&metrics);
|
||||
|
||||
metrics.type = DISPLAY_METRIC_PIXEL_HEIGHT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user