diff options
author | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 20:08:57 +0000 |
---|---|---|
committer | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 20:08:57 +0000 |
commit | 199fce769b287d7e43356f0f976b7f77cf1ce51c (patch) | |
tree | 6ec23a116ae9275d458d6b8d2b58b709f38fcc1a /o3d/core | |
parent | 061ce454fee41071a94336662cf13db5b4a07585 (diff) | |
download | chromium_src-199fce769b287d7e43356f0f976b7f77cf1ce51c.zip chromium_src-199fce769b287d7e43356f0f976b7f77cf1ce51c.tar.gz chromium_src-199fce769b287d7e43356f0f976b7f77cf1ce51c.tar.bz2 |
Fix bug where shaders fail if the last // #o3d line
does not have an end-of-line
Review URL: http://codereview.chromium.org/173070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23726 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/core')
-rw-r--r-- | o3d/core/win/d3d9/effect_d3d9.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/o3d/core/win/d3d9/effect_d3d9.cc b/o3d/core/win/d3d9/effect_d3d9.cc index 830f5a4..057c55e 100644 --- a/o3d/core/win/d3d9/effect_d3d9.cc +++ b/o3d/core/win/d3d9/effect_d3d9.cc @@ -509,6 +509,7 @@ bool EffectD3D9::PrepareFX(const String& effect, } *prepared_effect = effect + + "\n" "technique Shaders { " " pass p0 { " " VertexShader = compile vs_2_0 " + vertex_shader_entry_point + "();" |