You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
any cores (currently developing my own) where hw_render_callback->depth is false, the resulting texture done by framebufferrenderer.cpp is just black, game works tho sound is working etc. The framebuffer is valid and blitting it to the mainbuffer shows its correcty, so its probably related to the depth value.
(Same also happens to the Duckstation core, that one also needs retro_hw_context_type::RETRO_HW_CONTEXT_OPENGLES_VERSION tho)
The text was updated successfully, but these errors were encountered:
Hi @JustMeDaFaq . I've been able to reproduce a similar issue with flycast (which actually uses the depth buffer). Does removing this line fix the issue:
Hi @JustMeDaFaq . I've been able to reproduce a similar issue with flycast (which actually uses the depth buffer). Does removing this line fix the issue:
@Swordfish90 Deleting that line didnt worked. For flycast (as also for PPSSPP) doing: case RETRO_ENVIRONMENT_GET_PREFERRED_HW_RENDER: { LOGD("Called RETRO_ENVIRONMENT_GET_PREFERRED_HW_RENDER"); *((unsigned*) data) = retro_hw_context_type::RETRO_HW_CONTEXT_OPENGLES3 | retro_hw_context_type::RETRO_HW_CONTEXT_OPENGL; return true;
Hi @JustMeDaFaq. I've recently refactored the code and I found an issue with how the depth buffer was passed to cores. Is this issue still reproducible on the latest master?
Hi,
any cores (currently developing my own) where hw_render_callback->depth is false, the resulting texture done by framebufferrenderer.cpp is just black, game works tho sound is working etc. The framebuffer is valid and blitting it to the mainbuffer shows its correcty, so its probably related to the depth value.
(Same also happens to the Duckstation core, that one also needs retro_hw_context_type::RETRO_HW_CONTEXT_OPENGLES_VERSION tho)
The text was updated successfully, but these errors were encountered: