Revert "doc: document that ScreenRec->DestroyPixmap() shouldn't be called directly"
This reverts commit 984da40fbb.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2020>
This commit is contained in:
parent
60a224e457
commit
2a9c3abf3e
|
|
@ -3054,14 +3054,6 @@ must deallocate the PixmapRec and all attached devPrivate blocks.
|
|||
If successful, it returns TRUE.
|
||||
See Xserver/fb/fbpixmap.c for the sample server implementation.</para>
|
||||
<para>
|
||||
Consumers should never ever call that proc directly, but call dixDestroyPixmap() instead.
|
||||
</para>
|
||||
<para>
|
||||
If it's ever wrapped (by an extension), the wrapping handler must be written
|
||||
in a way that it can always be called, even when the private structures are in
|
||||
an half-initialized state (error pathes), so no extra unwrapping magic necessary.
|
||||
</para>
|
||||
<para>
|
||||
<blockquote><programlisting>
|
||||
|
||||
Bool
|
||||
|
|
|
|||
Loading…
Reference in New Issue