OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 #include "SkTypes.h" | 7 #include "SkTypes.h" |
9 #if defined(SK_BUILD_FOR_WIN32) | 8 #if defined(SK_BUILD_FOR_WIN32) |
10 | 9 |
11 #include "gl/GrGLInterface.h" | 10 #include "gl/GrGLInterface.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 81 |
83 if (kGLES_GrGLStandard == standard) { | 82 if (kGLES_GrGLStandard == standard) { |
84 return GrGLAssembleGLESInterface(&getter, win_get_gl_proc); | 83 return GrGLAssembleGLESInterface(&getter, win_get_gl_proc); |
85 } else if (kGL_GrGLStandard == standard) { | 84 } else if (kGL_GrGLStandard == standard) { |
86 return GrGLAssembleGLInterface(&getter, win_get_gl_proc); | 85 return GrGLAssembleGLInterface(&getter, win_get_gl_proc); |
87 } | 86 } |
88 return nullptr; | 87 return nullptr; |
89 } | 88 } |
90 | 89 |
91 #endif//defined(SK_BUILD_FOR_WIN32) | 90 #endif//defined(SK_BUILD_FOR_WIN32) |
OLD | NEW |