summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2008-03-14 15:27:15 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2008-03-14 15:27:15 +0800
commit42c279a03b4d3529efc0d552c37ace2c82306822 (patch)
tree5413a438e55f36202443187f29cc31b867337326 /src
parentf94d317d7aea8043b179a0ba64308606375500d7 (diff)
glx: fix rotation regression. bug #14963
Diffstat (limited to 'src')
-rw-r--r--src/glx/x11/dri_glx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c
index 08e419c1ef..2e3ab06dce 100644
--- a/src/glx/x11/dri_glx.c
+++ b/src/glx/x11/dri_glx.c
@@ -38,6 +38,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <X11/Xlibint.h>
#include <X11/extensions/Xext.h>
#include <X11/extensions/extutil.h>
+#include <X11/extensions/Xfixes.h>
+#include <X11/extensions/Xdamage.h>
#include "glheader.h"
#include "glxclient.h"
#include "xf86dri.h"
@@ -379,8 +381,8 @@ static void __glXReportDamage(__DRIdrawable *driDraw,
XserverRegion region;
int i;
int x_off, y_off;
- __GLXdrawable *glxDraw =
- containerOf(driDraw, __GLXdrawable, driDrawable);
+ __GLXDRIdrawable *glxDraw =
+ containerOf(driDraw, __GLXDRIdrawable, driDrawable);
__GLXscreenConfigs *psc = glxDraw->psc;
Display *dpy = psc->dpy;
Drawable drawable;