1<?xml version="1.0" encoding="UTF-8" standalone="no"?> 2<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title xmlns:xlink="http://www.w3.org/1999/xlink">eglGetCurrentDisplay - EGL Reference Pages</title> 5 <link rel="stylesheet" type="text/css" href="khronos-man.css"/> 6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"/> 7 </head> 8 <body> 9 <header/> 10 <div class="refentry" id="eglGetCurrentDisplay"> 11 <div class="titlepage"/> 12 <div class="refnamediv"> 13 <h2>Name</h2> 14 <p>eglGetCurrentDisplay — 15 return the display for the current <abbr class="acronym">EGL</abbr> rendering context 16 </p> 17 </div> 18 <div class="refsynopsisdiv"> 19 <h2>C Specification</h2> 20 <div class="funcsynopsis"> 21 <table style="border: 0; cellspacing: 0; cellpadding: 0;" class="funcprototype-table"> 22 <tr> 23 <td> 24 <code class="funcdef">EGLDisplay <strong class="fsfunc">eglGetCurrentDisplay</strong>(</code> 25 </td> 26 <td><code>void)</code>;</td> 27 <td> </td> 28 </tr> 29 </table> 30 <div class="funcprototype-spacer"> </div> 31 </div> 32 </div> 33 <div class="refsect1" id="description"> 34 <h2>Description</h2> 35 <p> 36 <code class="function">eglGetCurrentDisplay</code> returns the current 37 <abbr class="acronym">EGL</abbr> display connection for the current 38 <abbr class="acronym">EGL</abbr> rendering context, as specified by 39 <a class="citerefentry" href="eglMakeCurrent.xhtml"><span class="citerefentry"><span class="refentrytitle">eglMakeCurrent</span></span></a>. 40 If no context is current, <code class="constant">EGL_NO_DISPLAY</code> is returned. 41 </p> 42 </div> 43 <div class="refsect1" id="seealso"> 44 <h2>See Also</h2> 45 <p> 46 <a class="citerefentry" href="eglGetDisplay.xhtml"><span class="citerefentry"><span class="refentrytitle">eglGetDisplay</span></span></a>, 47 <a class="citerefentry" href="eglInitialize.xhtml"><span class="citerefentry"><span class="refentrytitle">eglInitialize</span></span></a>, 48 <a class="citerefentry" href="eglMakeCurrent.xhtml"><span class="citerefentry"><span class="refentrytitle">eglMakeCurrent</span></span></a> </p> 49 </div> 50 <p> 51 </p> 52 <div class="refsect3" id="copyright"> 53 <img src="KhronosLogo.jpg"/> 54 <p> 55 Copyright © 2003-2014 The Khronos Group Inc. 56 Permission is hereby granted, free of charge, to any person obtaining a 57 copy of this software and/or associated documentation files (the 58 "Materials"), to deal in the Materials without restriction, including 59 without limitation the rights to use, copy, modify, merge, publish, 60 distribute, sublicense, and/or sell copies of the Materials, and to 61 permit persons to whom the Materials are furnished to do so, subject to 62 the condition that this copyright notice and permission notice shall be included 63 in all copies or substantial portions of the Materials. 64 </p> 65 </div> 66 <p> 67</p> 68 </div> 69 <footer/> 70 </body> 71</html> 72