Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
31d8b276
Commit
31d8b276
authored
Nov 26, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Const correctness fixes for ati_fragment_shader.c.
parent
ed6bcc27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
ati_fragment_shader.c
dlls/wined3d/ati_fragment_shader.c
+7
-3
No files found.
dlls/wined3d/ati_fragment_shader.c
View file @
31d8b276
...
...
@@ -159,7 +159,9 @@ static const char *debug_rep(GLuint rep) {
}
#define GLINFO_LOCATION (*gl_info)
static
GLuint
register_for_arg
(
DWORD
arg
,
WineD3D_GL_Info
*
gl_info
,
unsigned
int
stage
,
GLuint
*
mod
,
GLuint
*
rep
,
GLuint
tmparg
)
{
static
GLuint
register_for_arg
(
DWORD
arg
,
const
WineD3D_GL_Info
*
gl_info
,
unsigned
int
stage
,
GLuint
*
mod
,
GLuint
*
rep
,
GLuint
tmparg
)
{
GLenum
ret
;
if
(
mod
)
*
mod
=
GL_NONE
;
...
...
@@ -224,7 +226,8 @@ static GLuint register_for_arg(DWORD arg, WineD3D_GL_Info *gl_info, unsigned int
return
ret
;
}
static
GLuint
find_tmpreg
(
struct
texture_stage_op
op
[
MAX_TEXTURES
])
{
static
GLuint
find_tmpreg
(
const
struct
texture_stage_op
op
[
MAX_TEXTURES
])
{
int
lowest_read
=
-
1
;
int
lowest_write
=
-
1
;
int
i
;
...
...
@@ -284,7 +287,8 @@ static GLuint find_tmpreg(struct texture_stage_op op[MAX_TEXTURES]) {
}
}
static
GLuint
gen_ati_shader
(
struct
texture_stage_op
op
[
MAX_TEXTURES
],
WineD3D_GL_Info
*
gl_info
)
{
static
GLuint
gen_ati_shader
(
const
struct
texture_stage_op
op
[
MAX_TEXTURES
],
const
WineD3D_GL_Info
*
gl_info
)
{
GLuint
ret
=
GL_EXTCALL
(
glGenFragmentShadersATI
(
1
));
unsigned
int
stage
;
GLuint
arg0
,
arg1
,
arg2
,
extrarg
;
...
...
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