mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
- More research is required to fix NtGdiSetPixelFormat, so removing disputed information.
svn path=/trunk/; revision=41275
This commit is contained in:
@@ -162,6 +162,9 @@ NtGdiSetPixelFormat(
|
||||
|
||||
ppdev = pdc->ppdev;
|
||||
|
||||
/*
|
||||
WndObj is needed so exit on NULL pointer.
|
||||
*/
|
||||
if (pWndObj) pso = pWndObj->psoOwner;
|
||||
else
|
||||
{
|
||||
@@ -169,18 +172,6 @@ NtGdiSetPixelFormat(
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
if (!pso)
|
||||
{
|
||||
/*
|
||||
Based on some rules! InfoDC to DC or, based on wiki information!
|
||||
All pointers, it's a "must be!", (CONTAINING_RECORD +10h = SURFOBJ), the
|
||||
pointer will start at SURFOBJ of the SURFACE structure.
|
||||
*/
|
||||
pso = (SURFOBJ *)pdc->dclevel.pSurface;
|
||||
if (!pso) pso = pdc->pSurfInfo;
|
||||
if (!pso) pso = ppdev->pSurface;
|
||||
}
|
||||
|
||||
if (ppdev->flFlags & PDEV_META_DEVICE)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
|
||||
Reference in New Issue
Block a user