intel: Remove unused enable_imaging parameter to intelInitExtensions
This commit is contained in:
parent
4d72f8f520
commit
a736d3f439
|
@ -745,7 +745,7 @@ intelInitContext(struct intel_context *intel,
|
|||
exit(1);
|
||||
}
|
||||
|
||||
intelInitExtensions(ctx, GL_FALSE);
|
||||
intelInitExtensions(ctx);
|
||||
|
||||
INTEL_DEBUG = driParseDebugString(getenv("INTEL_DEBUG"), debug_control);
|
||||
if (INTEL_DEBUG & DEBUG_BUFMGR)
|
||||
|
|
|
@ -194,15 +194,13 @@ static const struct dri_extension fragment_shader_extensions[] = {
|
|||
* extensions for a context.
|
||||
*/
|
||||
void
|
||||
intelInitExtensions(GLcontext *ctx, GLboolean enable_imaging)
|
||||
intelInitExtensions(GLcontext *ctx)
|
||||
{
|
||||
struct intel_context *intel = ctx?intel_context(ctx):NULL;
|
||||
|
||||
/* Disable imaging extension until convolution is working in teximage paths.
|
||||
*/
|
||||
enable_imaging = GL_FALSE;
|
||||
|
||||
driInitExtensions(ctx, card_extensions, enable_imaging);
|
||||
driInitExtensions(ctx, card_extensions, GL_FALSE);
|
||||
|
||||
if (intel == NULL || intel->ttm)
|
||||
driInitExtensions(ctx, ttm_extensions, GL_FALSE);
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
|
||||
extern void
|
||||
intelInitExtensions(GLcontext *ctx, GLboolean enable_imaging);
|
||||
intelInitExtensions(GLcontext *ctx);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue