mirror of
https://github.com/Patoke/4JLibs.git
synced 2026-07-17 18:58:09 +00:00
chore: add warning for non zero initialized descriptor breaking the depth stencil
This commit is contained in:
13
README.md
13
README.md
@@ -2,6 +2,19 @@
|
||||
|
||||
A project that aims at rebuilding the 4J libraries source code via decompilation for the Minecraft: Legacy Console Edition
|
||||
|
||||
## NOTICE
|
||||
|
||||
There's a bug in the main game code where the depth stencil view descriptor isn't zero initialized, this happens in the file ``Windows64_Minecraft.cpp`` at the
|
||||
```D3D11_DEPTH_STENCIL_VIEW_DESC descDSView;``` line
|
||||
|
||||
|
||||
This causes the depth stencil view creation to fail and consequently breaks the game, to fix this you will need to add the following line after the definition described:
|
||||
|
||||
```ZeroMemory(&descDSView, sizeof(descDSView));```
|
||||
|
||||
This issue only happens when building with newer versions of the Visual Studio compiler, Visual Studio 2012 isn't affected by this, so if you're working on a fork of the main source
|
||||
remember to add this line to avoid breaking the game for other people
|
||||
|
||||
## Why?
|
||||
|
||||
This would allow compiling the Minecraft: Legacy Console Edition source code from newer versions of Visual Studio, expand the Renderer code, add new Input support, etc...
|
||||
|
||||
Reference in New Issue
Block a user