mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 04:10:09 +01:00
Break mesa dependencies.
Silence compiler warnings.
This commit is contained in:
parent
2f559606dc
commit
1b19aa522a
1 changed files with 1 additions and 3 deletions
|
|
@ -31,8 +31,6 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "main/context.h"
|
||||
|
||||
#include "pipe/p_defines.h"
|
||||
#include "pipe/p_context.h"
|
||||
#include "pipe/p_winsys.h"
|
||||
|
|
@ -175,7 +173,7 @@ run_vertex_program2(struct draw_context *draw,
|
|||
x /= w;
|
||||
y /= w;
|
||||
z /= w;
|
||||
w = 1.0 / w;
|
||||
w = 1.0f / w;
|
||||
|
||||
/* Viewport */
|
||||
vOut->data[0][0] = scale[0] * x + trans[0];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue