OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/gl/gl_surface.h" | 5 #include "ui/gl/gl_surface_egl.h" |
6 | 6 |
7 #include <dwmapi.h> | 7 #include <dwmapi.h> |
8 | 8 |
9 #include "ui/gl/gl_surface_egl.h" | |
10 | |
11 namespace gl { | 9 namespace gl { |
12 | 10 |
13 EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() { | 11 EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() { |
14 return GetDC(NULL); | 12 return GetDC(NULL); |
15 } | 13 } |
16 | 14 |
17 } // namespace gl | 15 } // namespace gl |
OLD | NEW |