diff options
author | Aapo Tahkola <aet@rasterburn.org> | 2005-02-28 00:27:02 +0000 |
---|---|---|
committer | Aapo Tahkola <aet@rasterburn.org> | 2005-02-28 00:27:02 +0000 |
commit | d1e40c9bddc3516da0facf0d2f3f7db4533a1396 (patch) | |
tree | e882aff729d1e21e47f31a5298341e334de1a3e5 /src/mesa/drivers/dri/r300/r300_context.c | |
parent | 6c0c91714c17da75d0386a48f7de7b558b3ec1a9 (diff) |
fix for 'nasty bug' and some sanity checks to avoid buffer overruns. Bumping VSF_MAX_FRAGMENT_LENGTH as it seems a bit low otherwise.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index ca9ee7c1ca..b37e98440f 100644 --- a/src/mesa/drivers/dri/r300/r300_context.c +++ b/src/mesa/drivers/dri/r300/r300_context.c @@ -216,7 +216,7 @@ GLboolean r300CreateContext(const __GLcontextModes * glVisual, * texturable memory at once. */ - ctx = r300->radeon.glCtx; + ctx = r300->radeon.glCtx; ctx->Const.MaxTextureImageUnits = driQueryOptioni(&r300->radeon.optionCache, "texture_image_units"); |