mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 10:56:58 +02:00
graphics: fix initialization
This commit is contained in:
@@ -709,9 +709,6 @@ void GraphicsRing::Submit(OwnedCmdBuffer draw_buffer, OwnedCmdBuffer const_buffe
|
||||
|
||||
Common::LockGuard lock(m_mutex);
|
||||
|
||||
WindowWaitForGraphicInitialized();
|
||||
GraphicsRenderCreateContext();
|
||||
|
||||
if (m_done) {
|
||||
while (!m_idle) {
|
||||
m_idle_cond_var.Wait(&m_mutex);
|
||||
@@ -738,8 +735,6 @@ void GraphicsRing::SubmitFlipPreparation() {
|
||||
EXIT_IF(m_cp == nullptr);
|
||||
Common::LockGuard lock(m_mutex);
|
||||
|
||||
WindowWaitForGraphicInitialized();
|
||||
GraphicsRenderCreateContext();
|
||||
if (m_done) {
|
||||
while (!m_idle) {
|
||||
m_idle_cond_var.Wait(&m_mutex);
|
||||
@@ -921,9 +916,6 @@ void ComputeRing::Submit(OwnedCmdBuffer buffer, bool trigger_agc_interrupt_on_do
|
||||
EXIT_IF(buffer.data == nullptr);
|
||||
EXIT_IF(buffer.num_dw == 0);
|
||||
|
||||
WindowWaitForGraphicInitialized();
|
||||
GraphicsRenderCreateContext();
|
||||
|
||||
if (m_done) {
|
||||
m_done = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user