Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b12ec91c
Commit
b12ec91c
authored
May 14, 2013
by
Stefan Dösinger
Committed by
Alexandre Julliard
May 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't log the device pointer in shader_arb_select.
parent
cb4cef12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+2
-4
No files found.
dlls/wined3d/arb_program_shader.c
View file @
b12ec91c
...
...
@@ -4604,7 +4604,6 @@ static void find_arb_vs_compile_args(const struct wined3d_state *state,
static
void
shader_arb_select
(
void
*
shader_priv
,
const
struct
wined3d_context
*
context
,
const
struct
wined3d_state
*
state
)
{
struct
wined3d_device
*
device
=
context
->
swapchain
->
device
;
struct
shader_arb_priv
*
priv
=
shader_priv
;
const
struct
wined3d_gl_info
*
gl_info
=
context
->
gl_info
;
int
i
;
...
...
@@ -4633,8 +4632,7 @@ static void shader_arb_select(void *shader_priv, const struct wined3d_context *c
gl_info
->
gl_ops
.
gl
.
p_glEnable
(
GL_FRAGMENT_PROGRAM_ARB
);
checkGLcall
(
"glEnable(GL_FRAGMENT_PROGRAM_ARB);"
);
TRACE
(
"(%p) : Bound fragment program %u and enabled GL_FRAGMENT_PROGRAM_ARB
\n
"
,
device
,
priv
->
current_fprogram_id
);
TRACE
(
"Bound fragment program %u and enabled GL_FRAGMENT_PROGRAM_ARB
\n
"
,
priv
->
current_fprogram_id
);
/* Pixel Shader 1.x constants are clamped to [-1;1], Pixel Shader 2.0 constants are not. If switching between
* a 1.x and newer shader, reload the first 8 constants
...
...
@@ -4706,7 +4704,7 @@ static void shader_arb_select(void *shader_priv, const struct wined3d_context *c
/* Enable OpenGL vertex programs */
gl_info
->
gl_ops
.
gl
.
p_glEnable
(
GL_VERTEX_PROGRAM_ARB
);
checkGLcall
(
"glEnable(GL_VERTEX_PROGRAM_ARB);"
);
TRACE
(
"
(%p) : Bound vertex program %u and enabled GL_VERTEX_PROGRAM_ARB
\n
"
,
device
,
priv
->
current_vprogram_id
);
TRACE
(
"
Bound vertex program %u and enabled GL_VERTEX_PROGRAM_ARB
\n
"
,
priv
->
current_vprogram_id
);
shader_arb_vs_local_constants
(
compiled
,
context
,
state
);
if
(
priv
->
last_vs_color_unclamp
!=
compiled
->
need_color_unclamp
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment