mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
57f5391e3e
No review because this is just syncing us with upstream: http://code.google.com/p/angleproject/ This is also doing some cleanup, removing stale/empty files and updating patches. The main benefit from this update is that long-identifier-shortening has been fixed.
22 lines
865 B
Diff
22 lines
865 B
Diff
# HG changeset patch
|
|
# Parent 761ca19e4ce1afe03e58beaea20149ba1ef243c4
|
|
diff --git a/gfx/angle/src/compiler/preprocessor/length_limits.h b/gfx/angle/src/compiler/preprocessor/length_limits.h
|
|
--- a/gfx/angle/src/compiler/preprocessor/length_limits.h
|
|
+++ b/gfx/angle/src/compiler/preprocessor/length_limits.h
|
|
@@ -10,12 +10,14 @@
|
|
|
|
#if !defined(__LENGTH_LIMITS_H)
|
|
#define __LENGTH_LIMITS_H 1
|
|
|
|
// These constants are factored out from the rest of the headers to
|
|
// make it easier to reference them from the compiler sources.
|
|
|
|
// These lengths do not include the NULL terminator.
|
|
-#define MAX_SYMBOL_NAME_LEN 256
|
|
+// see bug 675625: NVIDIA driver crash with lengths >= 253
|
|
+// this is only an interim fix, the real fix is name mapping, see ANGLE bug 144 / r619
|
|
+#define MAX_SYMBOL_NAME_LEN 250
|
|
#define MAX_STRING_LEN 511
|
|
|
|
#endif // !(defined(__LENGTH_LIMITS_H)
|