зеркало из https://github.com/mozilla/gecko-dev.git
b=587304; fix some string usage in WebGL shader validation; r=jeff
This commit is contained in:
Родитель
f6b87f6c8f
Коммит
d746975e96
|
@ -2860,7 +2860,7 @@ WebGLContext::CompileShader(nsIWebGLShader *sobj)
|
|||
|
||||
compiler = ShConstructCompiler(lang, EShSpecWebGL, &resources);
|
||||
|
||||
nsDependentCString src(shader->Source());
|
||||
nsPromiseFlatCString src(shader->Source());
|
||||
const char *s = src.get();
|
||||
|
||||
if (!ShCompile(compiler, &s, 1, EShOptSimple, debugFlags)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче