Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DX] Calling ApplyChanges() in Game actor cause Exception #5173

Closed
nkast opened this issue Sep 17, 2016 · 1 comment · Fixed by #5139
Closed

[DX] Calling ApplyChanges() in Game actor cause Exception #5173

nkast opened this issue Sep 17, 2016 · 1 comment · Fixed by #5139

Comments

@nkast
Copy link
Contributor

nkast commented Sep 17, 2016

Seen on W8.1 but probably also an issue on other Windows/DX.

If we call graphics.ApplyChanges() inside the Game constructor it has no effect on XNA and MG 3.5. It was most likely ignored.
With the latest develop build we get an error later inside Initialize()
[System.Runtime.InteropServices.COMException] = {System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.}
message: "DCOMPOSITION_ERROR_WINDOW_ALREADY_COMPOSED\r\n"

nkast added a commit to nkast/MonoGame that referenced this issue Jun 5, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jun 6, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
@nkast
Copy link
Contributor Author

nkast commented Jun 6, 2017

This is still an issue on W8.1 and W10 store apps.

W8.1 will throw an exception on graphics.ApplyChanges() while on W10 the screen is White, nothing renders. Seems like the SwapChain[Background]Panel is not assigned by the time ApplyChanges()/CreateDevice() is called.

nkast added a commit to nkast/MonoGame that referenced this issue Jun 22, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jun 22, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jun 22, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 11, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 15, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 21, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Aug 7, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Aug 11, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Aug 13, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Aug 13, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Aug 13, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Aug 14, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Aug 23, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Aug 24, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Aug 24, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Aug 28, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Aug 30, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Sep 2, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Sep 19, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Sep 20, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Sep 20, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Sep 21, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Sep 21, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Sep 21, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Oct 11, 2017
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 4, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 4, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 10, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 11, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 14, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 14, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 14, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 14, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 14, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 21, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 21, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue May 29, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jun 22, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jun 22, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jun 22, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jun 23, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jun 25, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jun 30, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 8, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 18, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 18, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 20, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 21, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 24, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 25, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 26, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 26, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 27, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 27, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
nkast added a commit to nkast/MonoGame that referenced this issue Jul 27, 2022
Reported as MonoGame#5173 (MonoGame#5173)

This is a temp fix. Calling ApplyChanges() should create the graphics
Device anytime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant