diff options
author | Eric Anholt <eric@anholt.net> | 2009-10-06 18:02:38 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-08 15:34:09 -0700 |
commit | cc5d3ba3c331c3b1becf2d19277b24144bf34cfa (patch) | |
tree | 7c202c42fc4915c806086de18db4a76b9003ed5c /src/i830_video.h | |
parent | 03e8e64f8669263e3cecb79ea57d5a26c0eaee3f (diff) |
Rename the screen private from I830Ptr pI830 to intel_screen_private *intel.
This is the beginning of the campaign to remove some of the absurd use of
Hungarian in the driver. Not that I don't like Hungarian, but I don't need
to know that pI830 is a pPointer.
Diffstat (limited to 'src/i830_video.h')
-rw-r--r-- | src/i830_video.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_video.h b/src/i830_video.h index ac478018..2905be3e 100644 --- a/src/i830_video.h +++ b/src/i830_video.h @@ -60,13 +60,13 @@ typedef struct { int oneLineMode; int scaleRatio; Bool textured; - Rotation rotation; /* should remove I830->rotation later */ + Rotation rotation; /* should remove intel->rotation later */ int SyncToVblank; /* -1: auto, 0: off, 1: on */ } I830PortPrivRec, *I830PortPrivPtr; #define GET_PORT_PRIVATE(pScrn) \ - (I830PortPrivPtr)((I830PTR(pScrn))->adaptor->pPortPrivates[0].ptr) + (I830PortPrivPtr)((intel_get_screen_private(pScrn))->adaptor->pPortPrivates[0].ptr) void I915DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, RegionPtr dstRegion, short width, |