mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
gallium: in GL_SELECT mode, update hitflag in rasterpos
This commit is contained in:
parent
e280bd50cc
commit
9a264a056a
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
#include "main/imports.h"
|
||||
#include "main/macros.h"
|
||||
#include "main/feedback.h"
|
||||
|
||||
#include "st_context.h"
|
||||
#include "st_atom.h"
|
||||
|
|
@ -163,6 +164,10 @@ rastpos_point(struct draw_stage *stage, struct prim_header *prim)
|
|||
ctx->Current.RasterTexCoords[i],
|
||||
VERT_RESULT_TEX0 + i, VERT_ATTRIB_TEX0 + i);
|
||||
}
|
||||
|
||||
if (ctx->RenderMode == GL_SELECT) {
|
||||
_mesa_update_hitflag( ctx, ctx->Current.RasterPos[2] );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue