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