Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 5062 → Rev 5063

/contrib/sdk/sources/Mesa/src/mesa/state_tracker/st_context.c
1,8 → 1,8
/**************************************************************************
*
*
* Copyright 2007 Tungsten Graphics, Inc., Cedar Park, Texas.
* All Rights Reserved.
*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
10,11 → 10,11
* distribute, sub license, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
*
* The above copyright notice and this permission notice (including the
* next paragraph) shall be included in all copies or substantial portions
* of the Software.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
22,7 → 22,7
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*
**************************************************************************/
 
#include "main/imports.h"
108,7 → 108,7
struct pipe_screen *screen = pipe->screen;
uint i;
struct st_context *st = ST_CALLOC_STRUCT( st_context );
 
st->options = *options;
 
ctx->st = st;
118,7 → 118,7
 
/* XXX: this is one-off, per-screen init: */
st_debug_init();
 
/* state tracker needs the VBO module */
_vbo_CreateContext(ctx);
 
275,7 → 275,7
free( st );
}
 
 
void st_destroy_context( struct st_context *st )
{
struct pipe_context *pipe = st->pipe;