Notify the display of a lost device and mark all contexts lost.

TRAC #18606
Signed-off-by: Daniel Koch
Author: Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/trunk@845 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/main.cpp b/src/libGLESv2/main.cpp
index 83ea8fe..5086e0e 100644
--- a/src/libGLESv2/main.cpp
+++ b/src/libGLESv2/main.cpp
@@ -114,6 +114,8 @@
 
     if (isDeviceLostError(errorCode))
     {
+        display = gl::getDisplay();
+        display->notifyDeviceLost();
         return true;
     }
     return false;