Module: wine
Branch: master
Commit: 0b7a96e92b78d08728c8f82a847108fc760f314e
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=0b7a96e92b78d08728c8f82…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Thu Aug 24 23:55:23 2006 +0200
wined3d: Compile pixel shaders in drawprim.
---
dlls/wined3d/drawprim.c | 7 +++++++
dlls/wined3d/pixelshader.c | 3 ---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c
index c2ed58c..aa022e2 100644
--- a/dlls/wined3d/drawprim.c
+++ b/dlls/wined3d/drawprim.c
@@ -1796,6 +1796,13 @@ #undef BUFFER_OR_DATA
useDrawStridedSlow = TRUE;
}
+ if(usePixelShaderFunction) {
+ /* We compile the shader here because it depends on the texture stage state
+ * setup of the bound textures. If the shader is already compiled and the texture stage
+ * state setup matches the program this function will do nothing
+ */
+ IWineD3DPixelShader_CompileShader(This->stateBlock->pixelShader);
+ }
/* If GLSL is used for either pixel or vertex shaders, make a GLSL program
* Otherwise set NULL, to restore fixed function */
if ((wined3d_settings.vs_selected_mode == SHADER_GLSL && useVertexShaderFunction) ||
diff --git a/dlls/wined3d/pixelshader.c b/dlls/wined3d/pixelshader.c
index f5d6462..ab05dbb 100644
--- a/dlls/wined3d/pixelshader.c
+++ b/dlls/wined3d/pixelshader.c
@@ -949,9 +949,6 @@ static HRESULT WINAPI IWineD3DPixelShade
This->baseShader.function = NULL;
}
- /* Compile the shader. */
- IWineD3DPixelShader_CompileShader(iface);
-
return WINED3D_OK;
}
Module: wine
Branch: master
Commit: 4e92e29ce91ea4f99b4b9903c931255abe03d4ff
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=4e92e29ce91ea4f99b4b990…
Author: Louis Lenders <xerox_xerox2000(a)yahoo.co.uk>
Date: Thu Aug 24 22:13:21 2006 +0100
riched32: Add version resource.
---
dlls/riched32/Makefile.in | 2 ++
dlls/riched32/version.rc | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)
create mode 100644 dlls/riched32/version.rc
diff --git a/dlls/riched32/Makefile.in b/dlls/riched32/Makefile.in
index 2ac1aea..4aa587c 100644
--- a/dlls/riched32/Makefile.in
+++ b/dlls/riched32/Makefile.in
@@ -8,6 +8,8 @@ IMPORTS = riched20 user32 kernel32
C_SRCS = \
richedit.c
+RC_SRCS = version.rc
+
@MAKE_DLL_RULES@
### Dependencies:
diff --git a/dlls/riched32/version.rc b/dlls/riched32/version.rc
new file mode 100644
index 0000000..f17a783
--- /dev/null
+++ b/dlls/riched32/version.rc
@@ -0,0 +1,24 @@
+/*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wrapper Dll for Richedit"
+#define WINE_FILENAME_STR "riched32.dll"
+#define WINE_FILEVERSION 5,1,2600,0
+#define WINE_FILEVERSION_STR "5,1,2600,0"
+#define WINE_PRODUCTVERSION 5,1,2600,0
+#define WINE_PRODUCTVERSION_STR "5,1,2600,0"
+
+#include "wine/wine_common_ver.rc"