diff options
author | Chia-I Wu <[email protected]> | 2010-01-24 20:32:34 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-24 20:38:16 +0800 |
commit | ecb3b3102a3022e31cf9d75ae099eddbe298517f (patch) | |
tree | 70d5476f2d46c8444b74625bedcd588e2e765ae6 /src/egl/main/eglcurrent.c | |
parent | 7abf42626fe8552cf898652134f3767e591614ab (diff) |
egl: Make surfaces and contexts resources.
Turn _EGLSurface and _EGLContext into _EGLResource so that they can be
managed uniformly.
Diffstat (limited to 'src/egl/main/eglcurrent.c')
-rw-r--r-- | src/egl/main/eglcurrent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglcurrent.c b/src/egl/main/eglcurrent.c index df506151b58..f91631240fd 100644 --- a/src/egl/main/eglcurrent.c +++ b/src/egl/main/eglcurrent.c @@ -246,7 +246,7 @@ _eglGetCurrentDisplay(void) _EGLThreadInfo *t = _eglGetCurrentThread(); _EGLContext *ctx = t->CurrentContexts[t->CurrentAPIIndex]; if (ctx) - return ctx->Display; + return ctx->Resource.Display; else return NULL; } |