diff options
author | Richard Li <[email protected]> | 2009-09-22 16:39:11 -0400 |
---|---|---|
committer | Richard Li <[email protected]> | 2009-09-22 17:04:49 -0400 |
commit | 81283b0bf0a8f7b31517adc224c20531e27fab42 (patch) | |
tree | 7f1874a26f164f17fad1c44a0052ff44dcc1c1b6 /src/mesa/drivers/dri/r600/r600_context.c | |
parent | da0e4e557b85761e3eb03f9cbce2c3ef140fd5ef (diff) |
r600 : add draw_prim support.
Diffstat (limited to 'src/mesa/drivers/dri/r600/r600_context.c')
-rw-r--r-- | src/mesa/drivers/dri/r600/r600_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_context.c b/src/mesa/drivers/dri/r600/r600_context.c index 354b263f5cb..6fc6d9d7bfa 100644 --- a/src/mesa/drivers/dri/r600/r600_context.c +++ b/src/mesa/drivers/dri/r600/r600_context.c @@ -257,6 +257,7 @@ GLboolean r600CreateContext(const __GLcontextModes * glVisual, r600InitTextureFuncs(&functions); r700InitShaderFuncs(&functions); r700InitIoctlFuncs(&functions); + radeonInitBufferObjectFuncs(&functions); if (!radeonInitContext(&r600->radeon, &functions, glVisual, driContextPriv, @@ -375,6 +376,8 @@ GLboolean r600CreateContext(const __GLcontextModes * glVisual, _mesa_enable_extension(ctx, "GL_EXT_texture_compression_s3tc"); } + r700InitDraw(ctx); + radeon_fbo_init(&r600->radeon); radeonInitSpanFuncs( ctx ); |