intel: Fixups for 'mesa: create/destroy buffer objects via driver functions'.
Initialize all driver function hooks before calling _mesa_initialize_context(), and handle all buffer objects in intel_buffer_object(). Fixes assertion failure when running glxinfo.
This commit is contained in:
@@ -557,6 +557,7 @@ intelInitDriverFunctions(struct dd_function_table *functions)
|
||||
intelInitClearFuncs(functions);
|
||||
intelInitBufferFuncs(functions);
|
||||
intelInitPixelFuncs(functions);
|
||||
intelInitBufferObjectFuncs(functions);
|
||||
}
|
||||
|
||||
|
||||
@@ -717,7 +718,6 @@ intelInitContext(struct intel_context *intel,
|
||||
|
||||
intel->batch = intel_batchbuffer_alloc(intel);
|
||||
|
||||
intel_bufferobj_init(intel);
|
||||
intel_fbo_init(intel);
|
||||
|
||||
if (intel->ctx.Mesa_DXTn) {
|
||||
|
Reference in New Issue
Block a user