Module is called Tsunami.Bindings.Gl now; LoadExtension needs to look
for that. Oops. svn path=/trunk/tsunami-bindings/; revision=24760
This commit is contained in:
Родитель
45309a5e44
Коммит
ea5f650ff9
|
@ -71,13 +71,13 @@ namespace Tsunami.Bindings {
|
||||||
Type glt = null;
|
Type glt = null;
|
||||||
Assembly [] asss = AppDomain.CurrentDomain.GetAssemblies();
|
Assembly [] asss = AppDomain.CurrentDomain.GetAssemblies();
|
||||||
foreach (Assembly a in asss) {
|
foreach (Assembly a in asss) {
|
||||||
glt = a.GetType("Tsunami.Gl");
|
glt = a.GetType("Tsunami.Bindings.Gl");
|
||||||
if (glt != null)
|
if (glt != null)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (glt == null) {
|
if (glt == null) {
|
||||||
Console.WriteLine ("Couldn't find Tsunami.Gl assembly in current AppDomain!");
|
Console.WriteLine ("Couldn't find Tsunami.Bindings.Gl assembly in current AppDomain!");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче