• Administrator's avatar
    add depth buffer. fix issue of viewport. · 732beb28
    Administrator authored
    viewport.MinDepth and viewport.MaxDepth were not initialized, so they were both 0, which prevents the depth buffer from being calculated correctly.
    fix this issue by explicitly specify viewport.MinDepth as 0 and viewport.MaxDepth as 1.
    732beb28
WinMain.cpp 17.5 KB