mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-11-04 12:51:48 +00:00
"Fix" warnings
This commit is contained in:
@@ -68,7 +68,7 @@ namespace GlitchyEngine.Renderer
|
||||
|
||||
uint32 backBufferCount = 2;
|
||||
Format backBufferFormat = .R8G8B8A8_UNorm;
|
||||
Format backBufferViewFormat = .R8G8B8A8_UNorm; // _SRGB
|
||||
//Format backBufferViewFormat = .R8G8B8A8_UNorm; // _SRGB
|
||||
|
||||
if(nativeSwapChain != null)
|
||||
{
|
||||
|
||||
@@ -335,7 +335,7 @@ namespace GlitchyEngine.Renderer
|
||||
{
|
||||
Debug.Profiler.ProfileResourceFunction!();
|
||||
|
||||
SubresourceData resData = .(data, linePitch, slicePitch);
|
||||
//SubresourceData resData = .(data, linePitch, slicePitch);
|
||||
|
||||
// If data is null, set subresourceData null
|
||||
SubresourceData* resDataPtr = null;//data == null ? null : &resData;
|
||||
|
||||
@@ -131,7 +131,7 @@ namespace GlitchyEngine
|
||||
keycode = VK_XBUTTON1;
|
||||
case .XButton2:
|
||||
keycode = VK_XBUTTON2;
|
||||
case default:
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user