projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1bffd0
)
r300: set screen so that context init can find out chip ids
author
Dave Airlie
<airlied@redhat.com>
Thu, 15 May 2008 03:47:47 +0000
(13:47 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 15 May 2008 08:40:07 +0000
(18:40 +1000)
src/mesa/drivers/dri/r300/radeon_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/radeon_context.c
b/src/mesa/drivers/dri/r300/radeon_context.c
index 9c0a5868b5f466551385063f98eb1a3c7c5d4dc8..3fc724a5531b8496344069e8207c2ece7a2d7344 100644
(file)
--- a/
src/mesa/drivers/dri/r300/radeon_context.c
+++ b/
src/mesa/drivers/dri/r300/radeon_context.c
@@
-135,6
+135,7
@@
GLboolean radeonInitContext(radeonContextPtr radeon,
/* Fill in additional standard functions. */
radeonInitDriverFuncs(functions);
+ radeon->radeonScreen = screen;
/* Allocate and initialize the Mesa context */
if (sharedContextPrivate)
shareCtx = ((radeonContextPtr)sharedContextPrivate)->glCtx;
@@
-158,7
+159,6
@@
GLboolean radeonInitContext(radeonContextPtr radeon,
radeon->dri.fd = sPriv->fd;
radeon->dri.drmMinor = sPriv->drm_version.minor;
- radeon->radeonScreen = screen;
radeon->sarea = (drm_radeon_sarea_t *) ((GLubyte *) sPriv->pSAREA +
screen->sarea_priv_offset);