Matteo Bruni : wined3d: Always enable GL_PROGRAM_POINT_SIZE in the GLSL backend.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jun 3 09:43:08 CDT 2015


Module: wine
Branch: master
Commit: e8cb3bdba5dfefb9a1bf0e858dd755ca6637149a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e8cb3bdba5dfefb9a1bf0e858dd755ca6637149a

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Tue Jun  2 16:39:46 2015 +0200

wined3d: Always enable GL_PROGRAM_POINT_SIZE in the GLSL backend.

Core contexts don't support clamping the point size to GL_POINT_SIZE_MIN
/ GL_POINT_SIZE_MAX.  Incidentally this mostly fixes per-vertex point
sizes for vertex shader version 1 and 2.

---

 dlls/wined3d/arb_program_shader.c |  3 ++
 dlls/wined3d/context.c            |  1 +
 dlls/wined3d/glsl_shader.c        | 67 +++++++++++++++++++--------------------
 dlls/wined3d/shader.c             |  8 +++++
 dlls/wined3d/state.c              |  8 ++---
 dlls/wined3d/wined3d_private.h    | 24 +++++++-------
 6 files changed, 59 insertions(+), 52 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=e8cb3bdba5dfefb9a1bf0e858dd755ca6637149a



More information about the wine-cvs mailing list