st/mesa: rewrite comment in st_manager.c

This commit is contained in:
Brian Paul 2013-04-02 14:33:42 -06:00
parent 80eef069f0
commit 7e28debb6f
1 changed files with 2 additions and 3 deletions

View File

@ -170,9 +170,8 @@ st_context_validate(struct st_context *st,
/** /**
* Validate a framebuffer to make sure up-to-date pipe_textures are used. * Validate a framebuffer to make sure up-to-date pipe_textures are used.
* The context we need to pass in is s dummy context needed only to be * The context is only used for creating pipe surfaces and for calling
* able to get a pipe context to create pipe surfaces, and to have a * _mesa_resize_framebuffer().
* context to call _mesa_resize_framebuffer():
* (That should probably be rethought, since those surfaces become * (That should probably be rethought, since those surfaces become
* drawable state, not context state, and can be freed by another pipe * drawable state, not context state, and can be freed by another pipe
* context). * context).