Explorar el Código

st/mesa: line wrapping, whitespace fixes in st_cb_texture.c

Trivial.
tags/19.1-branchpoint
Brian Paul hace 6 años
padre
commit
d74932dfea
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4
    2
      src/mesa/state_tracker/st_cb_texture.c

+ 4
- 2
src/mesa/state_tracker/st_cb_texture.c Ver fichero

@@ -156,7 +156,9 @@ st_NewTextureObject(struct gl_context * ctx, GLuint name, GLenum target)
if (!obj)
return NULL;

/* Pre-allocate a sampler views container to save a branch in the fast path. */
/* Pre-allocate a sampler views container to save a branch in the
* fast path.
*/
obj->sampler_views = calloc(1, sizeof(struct st_sampler_views)
+ sizeof(struct st_sampler_view));
if (!obj->sampler_views) {
@@ -2796,7 +2798,7 @@ st_texture_create_from_memory(struct st_context *st,
GLuint depth0,
GLuint layers,
GLuint nr_samples,
GLuint bind )
GLuint bind)
{
struct pipe_resource pt, *newtex;
struct pipe_screen *screen = st->pipe->screen;

Cargando…
Cancelar
Guardar