mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Config fixes
This commit is contained in:
parent
0cc1bd0d8a
commit
20413146dc
@ -91,9 +91,8 @@ bool CMainDialog::OnInitDialog()
|
|||||||
device_i += 1;
|
device_i += 1;
|
||||||
sprintf(
|
sprintf(
|
||||||
device_name,
|
device_name,
|
||||||
"%s [%s] ( %s )",
|
"%s ( %s )",
|
||||||
device.m_deviceDesc,
|
device.m_deviceDesc,
|
||||||
device.m_deviceName,
|
|
||||||
driver_i == 0 ? "Primary Device" : "Secondary Device"
|
driver_i == 0 ? "Primary Device" : "Secondary Device"
|
||||||
);
|
);
|
||||||
m_ui->devicesList->addItem(device_name);
|
m_ui->devicesList->addItem(device_name);
|
||||||
|
|||||||
@ -342,7 +342,8 @@ unsigned char LegoDeviceEnumerate::FUN_1009d3d0(Direct3DDeviceInfo& p_device)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (p_device.m_HWDesc.dcmColorModel != D3DCOLOR_NONE) {
|
if (p_device.m_HWDesc.dcmColorModel != D3DCOLOR_NONE) {
|
||||||
if ((p_device.m_HWDesc.dwDeviceZBufferBitDepth & DDBD_16) == DDBD_16 &&
|
DDBitDepths zDepth = p_device.m_HWDesc.dwDeviceZBufferBitDepth;
|
||||||
|
if ((zDepth & (DDBD_16 | DDBD_24 | DDBD_32)) != static_cast<DDBitDepths>(0) &&
|
||||||
(p_device.m_HWDesc.dpcTriCaps.dwTextureCaps & D3DPTEXTURECAPS_PERSPECTIVE) == D3DPTEXTURECAPS_PERSPECTIVE) {
|
(p_device.m_HWDesc.dpcTriCaps.dwTextureCaps & D3DPTEXTURECAPS_PERSPECTIVE) == D3DPTEXTURECAPS_PERSPECTIVE) {
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -143,7 +143,7 @@ void OpenGL15Renderer::GetDesc(D3DDEVICEDESC* halDesc, D3DDEVICEDESC* helDesc)
|
|||||||
|
|
||||||
const char* OpenGL15Renderer::GetName()
|
const char* OpenGL15Renderer::GetName()
|
||||||
{
|
{
|
||||||
return "OpenGL 1.5 Renderer";
|
return "OpenGL 1.5 HAL";
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT OpenGL15Renderer::Render()
|
HRESULT OpenGL15Renderer::Render()
|
||||||
|
|||||||
@ -316,7 +316,7 @@ void Direct3DRMSDL3GPURenderer::GetDesc(D3DDEVICEDESC* halDesc, D3DDEVICEDESC* h
|
|||||||
|
|
||||||
const char* Direct3DRMSDL3GPURenderer::GetName()
|
const char* Direct3DRMSDL3GPURenderer::GetName()
|
||||||
{
|
{
|
||||||
return "SDL3 GPU Rendere";
|
return "SDL3 GPU HAL";
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT Direct3DRMSDL3GPURenderer::Render()
|
HRESULT Direct3DRMSDL3GPURenderer::Render()
|
||||||
|
|||||||
@ -463,7 +463,7 @@ void Direct3DRMSoftwareRenderer::GetDesc(D3DDEVICEDESC* halDesc, D3DDEVICEDESC*
|
|||||||
|
|
||||||
const char* Direct3DRMSoftwareRenderer::GetName()
|
const char* Direct3DRMSoftwareRenderer::GetName()
|
||||||
{
|
{
|
||||||
return "Software Renderer";
|
return "Miniwin Emulation";
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT Direct3DRMSoftwareRenderer::Render()
|
HRESULT Direct3DRMSoftwareRenderer::Render()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user