SetRenderTarget, Invalid Call error spam using render buffers in directx

Bug #983510 reported by Josh Enes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
Undecided
Unassigned

Bug Description

This can be seen using the nightly build and running the Teapot On TV sample under DX9. The error:

:display:gsg:dxgsg9(error): SetRenderTarget at (c:\buildslave\dev_sdk_win32\build\panda3d\panda\src\dxgsg9\wdxGraphicsBuffer9.cxx:488), hr=D3DERR_INVALIDCALL:
Invalid call
c:\buildslave\dev_sdk_win32\build\panda3d\panda\src\dxgsg9\wdxGraphicsBuffer9.cxx 488

Revision history for this message
Josh Enes (joshenes) wrote :

I believe this may be due to recent-ish changes in the GraphicsStateGuardian.

Josh Enes (joshenes)
tags: added: directx windows
Revision history for this message
lsyer (lishao378) wrote :

The same problem.
And always there is a black card at the left-top corner of my app window, if I use base.win.makeTextureBuffer.
If I have three buffer created with base.win.makeTextureBuffer, the last is showed on the screen.
I do want to konw how to remove it.

Revision history for this message
lsyer (lishao378) wrote :

drwr
Posts: 11024
Location: Glendale, CA

Posted: Mon Jun 30, 2008 7:31 pm Post subject:
Sorry, I should have said:
Code:
prefer-parasite-buffer 1

in your Config.prc file.

David

I found this topic, and after I added "prefer-parasite-buffer 1" in my prc file, the black card was removed sucessfully.

Revision history for this message
Josh Enes (joshenes) wrote :
Changed in panda3d:
status: New → Fix Committed
rdb (rdb)
Changed in panda3d:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.