mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
intel: Remove stale comment about non-intel gl_buffer_objects.
This hasn't been true since dd26899ca3
in 2009.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
bc0335fc0e
commit
d58a3182b1
1 changed files with 1 additions and 8 deletions
|
|
@ -84,14 +84,7 @@ void intel_upload_finish(struct intel_context *intel);
|
|||
*/
|
||||
void intelInitBufferObjectFuncs(struct dd_function_table *functions);
|
||||
|
||||
|
||||
|
||||
/* Are the obj->Name tests necessary? Unfortunately yes, mesa
|
||||
* allocates a couple of gl_buffer_object structs statically, and
|
||||
* the Name == 0 test is the only way to identify them and avoid
|
||||
* casting them erroneously to our structs.
|
||||
*/
|
||||
static INLINE struct intel_buffer_object *
|
||||
static inline struct intel_buffer_object *
|
||||
intel_buffer_object(struct gl_buffer_object *obj)
|
||||
{
|
||||
return (struct intel_buffer_object *) obj;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue