projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '7.8'
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
nouveau
/
nouveau_fbo.c
diff --git
a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c
index 2ec3dc92420c0e6480296e2157ba9a77e022a74e..8be7edb150bf8bbde835eed86ee0ecdcf3fd9a37 100644
(file)
--- a/
src/mesa/drivers/dri/nouveau/nouveau_fbo.c
+++ b/
src/mesa/drivers/dri/nouveau/nouveau_fbo.c
@@
-236,7
+236,7
@@
nouveau_render_texture(GLcontext *ctx, struct gl_framebuffer *fb,
/* Allocate a renderbuffer object for the texture if we
* haven't already done so. */
if (!rb) {
/* Allocate a renderbuffer object for the texture if we
* haven't already done so. */
if (!rb) {
- rb = nouveau_renderbuffer_new(ctx, 0);
+ rb = nouveau_renderbuffer_new(ctx,
~
0);
assert(rb);
rb->AllocStorage = NULL;
assert(rb);
rb->AllocStorage = NULL;
@@
-259,11
+259,7
@@
static void
nouveau_finish_render_texture(GLcontext *ctx,
struct gl_renderbuffer_attachment *att)
{
nouveau_finish_render_texture(GLcontext *ctx,
struct gl_renderbuffer_attachment *att)
{
- struct nouveau_renderbuffer *nrb
- = to_nouveau_renderbuffer(att->Renderbuffer);
-
texture_dirty(att->Texture);
texture_dirty(att->Texture);
- nouveau_surface_ref(NULL, &nrb->surface);
}
void
}
void