Module: wine
Branch: master
Commit: 881373f452132f540c2835e2ff853c1289228895
URL: http://source.winehq.org/git/wine.git/?a=commit;h=881373f452132f540c2835e2f…
Author: Michael Stefaniuc <mstefani(a)redhat.de>
Date: Wed Mar 19 15:00:00 2008 +0100
msrle32: Add the Romanian translation.
---
dlls/msrle32/msrle_Ro.rc | 31 +++++++++++++++++++++++++++++++
dlls/msrle32/rsrc.rc | 1 +
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/dlls/msrle32/msrle_Ro.rc b/dlls/msrle32/msrle_Ro.rc
new file mode 100644
index 0000000..64366c3
--- /dev/null
+++ b/dlls/msrle32/msrle_Ro.rc
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2002 Michael Günnewig
+ * Copyright 2008 Michael Stefaniuc
+ *
+ * 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
+ */
+
+LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
+
+#pragma code_page(65001)
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_NAME "WINE-MS-RLE"
+ IDS_DESCRIPTION "Codecul video Wine MS-RLE"
+ IDS_ABOUT "Codecul video Wine MS-RLE\nCopyright 2002 by Michael Günnewig"
+}
+
+#pragma code_page(default)
diff --git a/dlls/msrle32/rsrc.rc b/dlls/msrle32/rsrc.rc
index 3421470..618b36e 100644
--- a/dlls/msrle32/rsrc.rc
+++ b/dlls/msrle32/rsrc.rc
@@ -45,6 +45,7 @@
#include "msrle_No.rc"
#include "msrle_Pl.rc"
#include "msrle_Pt.rc"
+#include "msrle_Ro.rc"
#include "msrle_Ru.rc"
#include "msrle_Si.rc"
#include "msrle_Sv.rc"
Module: wine
Branch: master
Commit: 7fd87f10cdf0d9345d909a4b5cc6130855e7ee0a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7fd87f10cdf0d9345d909a4b5…
Author: Roderick Colenbrander <thunderbird2k(a)gmx.net>
Date: Tue Mar 18 09:38:55 2008 +0100
wined3d: There is no need for the !Usage checks at the start of the resource type checks.
The return-path of the code will handle this properly and this also
ensures that the R8G8B8 dxVersion test is reached.
---
dlls/wined3d/directx.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 5cbb082..aa2c537 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -2235,10 +2235,6 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
if(GL_SUPPORT(ARB_TEXTURE_CUBE_MAP)) {
/* Check if the texture format is around */
if(CheckTextureCapability(Adapter, CheckFormat)) {
- /* No usage checks were requested, so return because we know that the format is supported */
- if(!Usage)
- return WINED3D_OK;
-
if(Usage & WINED3DUSAGE_AUTOGENMIPMAP) {
/* Check for automatic mipmap generation support */
if(GL_SUPPORT(SGIS_GENERATE_MIPMAP)) {
@@ -2327,10 +2323,6 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
/* Check if the texture format is around */
if(CheckTextureCapability(Adapter, CheckFormat)) {
- /* No usage checks were requested, so return because we know that the format is supported */
- if(!Usage)
- return WINED3D_OK;
-
if(Usage & WINED3DUSAGE_AUTOGENMIPMAP) {
/* Check for automatic mipmap generation support */
if(GL_SUPPORT(SGIS_GENERATE_MIPMAP)) {