Cogl.Context.get_display

### Method

# Cogl Contextget_display

#### Declaration [src]

    CoglDisplay*
    cogl_context_get_display (
      CoglContext* context
    )

#### Description [src]

Retrieves the `CoglDisplay` that is internally associated with the given `context`. This will return the same `CoglDisplay` that was passed to `cogl_context_new()` or if `NULL` was passed to `cogl_context_new()` then this function returns a pointer to the display that was automatically setup internally.

This method is not directly available to language bindings.

#### Return value

Type: `CoglDisplay*`

The `CoglDisplay` associated with the given `context`.

The data is owned by the instance.