mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 15:30:14 +01:00
intel: Remove unused enable_imaging parameter to intelInitExtensions
This commit is contained in:
parent
4d72f8f520
commit
a736d3f439
3 changed files with 4 additions and 6 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue