projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
util: reference surfaces and sampler views in blitter when saving them
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_state_surface.c
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_surface.c
b/src/gallium/drivers/llvmpipe/lp_state_surface.c
index 7d86c5750c5e7e22d4e0b303235a8947bcd17631..4b135aaf8ba575126c3eb8c607b9f57efcdf01c2 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_state_surface.c
+++ b/
src/gallium/drivers/llvmpipe/lp_state_surface.c
@@
-30,6
+30,7
@@
#include "pipe/p_state.h"
#include "util/u_inlines.h"
#include "pipe/p_state.h"
#include "util/u_inlines.h"
+#include "util/u_framebuffer.h"
#include "util/u_surface.h"
#include "lp_context.h"
#include "lp_scene.h"
#include "util/u_surface.h"
#include "lp_context.h"
#include "lp_scene.h"
@@
-52,8
+53,8
@@
llvmpipe_set_framebuffer_state(struct pipe_context *pipe,
boolean changed = !util_framebuffer_state_equal(&lp->framebuffer, fb);
boolean changed = !util_framebuffer_state_equal(&lp->framebuffer, fb);
- assert(fb->width <=
MAX
WIDTH);
- assert(fb->height <=
MAX
HEIGHT);
+ assert(fb->width <=
LP_MAX_
WIDTH);
+ assert(fb->height <=
LP_MAX_
HEIGHT);
if (changed) {
if (changed) {