summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-16 14:10:51 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-07-16 14:13:10 +0900
commit61c4de53c360fd2893b0490075d760f2ca3bac33 (patch)
tree0c5bced5c78501c32ed94fc05a2640637499b9bb /src
parentfbf0f6bd4d6ec20ead2797042866e6e910cd0f77 (diff)
python: Silent debug output.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/python/gallium.i12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/gallium/state_trackers/python/gallium.i b/src/gallium/state_trackers/python/gallium.i
index 2f1d8b22fb..fe0afb18a9 100644
--- a/src/gallium/state_trackers/python/gallium.i
+++ b/src/gallium/state_trackers/python/gallium.i
@@ -177,7 +177,6 @@ struct st_context {
unsigned usage = 0
) {
struct pipe_texture templat;
- struct pipe_texture *texture;
memset(&templat, 0, sizeof(templat));
templat.format = format;
pf_get_block(templat.format, &templat.block);
@@ -187,9 +186,7 @@ struct st_context {
templat.last_level = last_level;
templat.target = target;
templat.tex_usage = usage;
- texture = $self->screen->texture_create($self->screen, &templat);
- fprintf(stderr, "creating texture %p\n", texture);
- return texture;
+ return $self->screen->texture_create($self->screen, &templat);
}
struct pipe_buffer *
@@ -400,7 +397,6 @@ error1:
~pipe_texture() {
struct pipe_texture *ptr = $self;
- fprintf(stderr, "destroying texture %p\n", $self);
pipe_texture_reference(&ptr, NULL);
}
@@ -409,10 +405,7 @@ error1:
get_surface(unsigned face=0, unsigned level=0, unsigned zslice=0, unsigned usage=0 )
{
struct pipe_screen *screen = $self->screen;
- struct pipe_surface *surface;
- surface = screen->get_tex_surface(screen, $self, face, level, zslice, usage);
- fprintf(stderr, "creating surface %p\n", surface);
- return surface;
+ return screen->get_tex_surface(screen, $self, face, level, zslice, usage);
}
};
@@ -422,7 +415,6 @@ error1:
~pipe_surface() {
struct pipe_surface *ptr = $self;
- fprintf(stderr, "destroying surface %p\n", $self);
pipe_surface_reference(&ptr, NULL);
}