diff options
author | Christoph Bumiller <[email protected]> | 2011-05-03 00:00:55 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-05-03 00:00:55 +0200 |
commit | f986a6560f3ee9a79b89e9409e3a9ac52b53315c (patch) | |
tree | e3afb5b3abbf7a7ee8d2fc0edadb70949d44395f /src/mesa/program/prog_statevars.h | |
parent | 9cb800a97c0ddf87f7870b2a025ab5b8785a426d (diff) |
mesa,st/mesa: fix WPOS adjustment
Tested-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_statevars.h')
-rw-r--r-- | src/mesa/program/prog_statevars.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/prog_statevars.h b/src/mesa/program/prog_statevars.h index 9fe8d81b3dd..04af3f4cf3a 100644 --- a/src/mesa/program/prog_statevars.h +++ b/src/mesa/program/prog_statevars.h @@ -120,7 +120,7 @@ typedef enum gl_state_index_ { STATE_PT_BIAS, /**< Pixel transfer RGBA bias */ STATE_SHADOW_AMBIENT, /**< ARB_shadow_ambient fail value; token[2] is texture unit index */ STATE_FB_SIZE, /**< (width-1, height-1, 0, 0) */ - STATE_FB_WPOS_Y_TRANSFORM, /**< (1, 0, -1, height-1) if a FBO is bound, (-1, height-1, 1, 0) otherwise */ + STATE_FB_WPOS_Y_TRANSFORM, /**< (1, 0, -1, height) if a FBO is bound, (-1, height, 1, 0) otherwise */ STATE_ROT_MATRIX_0, /**< ATI_envmap_bumpmap, rot matrix row 0 */ STATE_ROT_MATRIX_1, /**< ATI_envmap_bumpmap, rot matrix row 1 */ STATE_INTERNAL_DRIVER /* first available state index for drivers (must be last) */ |