Mesa (master): st/mesa: line wrapping, whitespace fixes in st_cb_texture.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Mar 4 18:49:16 UTC 2019
Module: Mesa
Branch: master
Commit: d74932dfea142acce527f880a5c42c6ab8bd0e40
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d74932dfea142acce527f880a5c42c6ab8bd0e40
Author: Brian Paul <brianp at vmware.com>
Date: Thu Feb 28 11:59:16 2019 -0700
st/mesa: line wrapping, whitespace fixes in st_cb_texture.c
Trivial.
---
src/mesa/state_tracker/st_cb_texture.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index 47fe88c40e4..f16f8762278 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -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;
More information about the mesa-commit
mailing list