diff options
author | Eric Anholt <eric@anholt.net> | 2011-01-04 13:44:34 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2011-01-04 14:42:54 -0800 |
commit | 5dbb856e960f9448ec4e322f936f5f6763ee77e2 (patch) | |
tree | da8d2f4a60ed5631ea1262cad34026c650a45b9d /src/mesa/drivers/dri/intel/intel_fbo.c | |
parent | 001d944fd50e0579739b8865e6e09be5d267c05a (diff) |
intel: Merge our choosetexformat fallbacks into core.
We now share the type/format -> MESA_FORMAT_* mappings with software
mesa, and the core supports most of the fallbacks hardware drivers
will want.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index a47d2d4f83..f4aceee9d6 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -115,8 +115,8 @@ intel_alloc_renderbuffer_storage(struct gl_context * ctx, struct gl_renderbuffer * except they're less useful because you can't texture with * them. */ - rb->Format = intelChooseTextureFormat(ctx, internalFormat, - GL_NONE, GL_NONE); + rb->Format = intel->ctx.Driver.ChooseTextureFormat(ctx, internalFormat, + GL_NONE, GL_NONE); break; case GL_STENCIL_INDEX: case GL_STENCIL_INDEX1_EXT: |