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
b5aee040
Commit
b5aee040
authored
May 12, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
May 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add missing GL locking to fragment_pipeline.enable_extension() implementations.
parent
91c3a5ea
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+2
-0
ati_fragment_shader.c
dlls/wined3d/ati_fragment_shader.c
+2
-0
nvidia_texture_shader.c
dlls/wined3d/nvidia_texture_shader.c
+2
-0
No files found.
dlls/wined3d/arb_program_shader.c
View file @
b5aee040
...
...
@@ -2273,6 +2273,7 @@ struct arbfp_ffp_desc
};
static
void
arbfp_enable
(
IWineD3DDevice
*
iface
,
BOOL
enable
)
{
ENTER_GL
();
if
(
enable
)
{
glEnable
(
GL_FRAGMENT_PROGRAM_ARB
);
checkGLcall
(
"glEnable(GL_FRAGMENT_PROGRAM_ARB)"
);
...
...
@@ -2280,6 +2281,7 @@ static void arbfp_enable(IWineD3DDevice *iface, BOOL enable) {
glDisable
(
GL_FRAGMENT_PROGRAM_ARB
);
checkGLcall
(
"glDisable(GL_FRAGMENT_PROGRAM_ARB)"
);
}
LEAVE_GL
();
}
static
HRESULT
arbfp_alloc
(
IWineD3DDevice
*
iface
)
{
...
...
dlls/wined3d/ati_fragment_shader.c
View file @
b5aee040
...
...
@@ -1043,6 +1043,7 @@ static const struct StateEntryTemplate atifs_fragmentstate_template[] = {
};
static
void
atifs_enable
(
IWineD3DDevice
*
iface
,
BOOL
enable
)
{
ENTER_GL
();
if
(
enable
)
{
glEnable
(
GL_FRAGMENT_SHADER_ATI
);
checkGLcall
(
"glEnable(GL_FRAGMENT_SHADER_ATI)"
);
...
...
@@ -1050,6 +1051,7 @@ static void atifs_enable(IWineD3DDevice *iface, BOOL enable) {
glDisable
(
GL_FRAGMENT_SHADER_ATI
);
checkGLcall
(
"glDisable(GL_FRAGMENT_SHADER_ATI)"
);
}
LEAVE_GL
();
}
static
void
atifs_get_caps
(
WINED3DDEVTYPE
devtype
,
const
WineD3D_GL_Info
*
gl_info
,
struct
fragment_caps
*
caps
)
...
...
dlls/wined3d/nvidia_texture_shader.c
View file @
b5aee040
...
...
@@ -595,6 +595,7 @@ static void nvrc_texfactor(DWORD state, IWineD3DStateBlockImpl *stateblock, Wine
static
void
nvrc_enable
(
IWineD3DDevice
*
iface
,
BOOL
enable
)
{
}
static
void
nvts_enable
(
IWineD3DDevice
*
iface
,
BOOL
enable
)
{
ENTER_GL
();
if
(
enable
)
{
glEnable
(
GL_TEXTURE_SHADER_NV
);
checkGLcall
(
"glEnable(GL_TEXTURE_SHADER_NV)"
);
...
...
@@ -602,6 +603,7 @@ static void nvts_enable(IWineD3DDevice *iface, BOOL enable) {
glDisable
(
GL_TEXTURE_SHADER_NV
);
checkGLcall
(
"glDisable(GL_TEXTURE_SHADER_NV)"
);
}
LEAVE_GL
();
}
static
void
nvrc_fragment_get_caps
(
WINED3DDEVTYPE
devtype
,
const
WineD3D_GL_Info
*
gl_info
,
struct
fragment_caps
*
pCaps
)
...
...
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