nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   Software Development (http://www.nvnews.net/vbulletin/forumdisplay.php?f=53)
-   -   SetPixelFormat error 3221684230 (http://www.nvnews.net/vbulletin/showthread.php?t=107420)

ReimarD 02-04-08 04:20 PM

SetPixelFormat error 3221684230
Has someone else encountered this and knows a workaround?
This error happens always when using SetPixelFormat on an HDC for a window created by a different process - but only for ICD accelerated pixel formats, software rendering works (and in addition this also works with ATI cards).
I am not completely sure this kind of thing is even supposed to work, but at least I could not find anything in the MSDN docs suggesting that this kind of thing is not allowed...

lduguay 02-13-08 06:55 AM

Re: SetPixelFormat error 3221684230

ReimarD 02-13-08 07:41 AM

Re: SetPixelFormat error 3221684230
Thanks, though that is about what I already know.
I changed the code to create a child window (creating a child window for a different processes window works fine, and I can SetPixelFormat and render OpenGL in that one), but that is just a ugly hack around what I'd now guess is a driver bug....
In case you wonder, the application in question is MPlayer/SMPlayer.

All times are GMT -5. The time now is 10:40 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.