Skip to content

Commit

Permalink
Moved WebGLConstants from Renderer to Core and updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lasalvavida committed Dec 7, 2016
1 parent 571dca3 commit 389cb1d
Show file tree
Hide file tree
Showing 39 changed files with 139 additions and 140 deletions.
8 changes: 4 additions & 4 deletions Source/Core/ComponentDatatype.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/*global define*/
define([
'../Renderer/WebGLConstants',
'./defaultValue',
'./defined',
'./DeveloperError',
'./FeatureDetection',
'./freezeObject'
'./freezeObject',
'./WebGLConstants'
], function(
WebGLConstants,
defaultValue,
defined,
DeveloperError,
FeatureDetection,
freezeObject) {
freezeObject,
WebGLConstants) {
'use strict';

// Bail out if the browser doesn't support typed arrays, to prevent the setup function
Expand Down
8 changes: 4 additions & 4 deletions Source/Core/IndexDatatype.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
/*global define*/
define([
'../Renderer/WebGLConstants',
'./defined',
'./DeveloperError',
'./freezeObject',
'./Math'
'./Math',
'./WebGLConstants'
], function(
WebGLConstants,
defined,
DeveloperError,
freezeObject,
CesiumMath) {
CesiumMath,
WebGLConstants) {
'use strict';

/**
Expand Down
8 changes: 4 additions & 4 deletions Source/Core/PixelFormat.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*global define*/
define([
'../Renderer/WebGLConstants',
'./freezeObject'
'./freezeObject',
'./WebGLConstants'
], function(
WebGLConstants,
freezeObject) {
freezeObject,
WebGLConstants) {
'use strict';

/**
Expand Down
8 changes: 4 additions & 4 deletions Source/Core/PrimitiveType.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*global define*/
define([
'../Renderer/WebGLConstants',
'./freezeObject'
'./freezeObject',
'./WebGLConstants'
], function(
WebGLConstants,
freezeObject) {
freezeObject,
WebGLConstants) {
'use strict';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
/*global define*/
define([
'../Core/freezeObject'
'./freezeObject'
], function(
freezeObject) {
'use strict';

/**
* WebGL constants.
* Enum containing WebGL Constant values by name
* for use without an active WebGL context.
*
* This file provides a workaround for Safari 9 where WebGL constants can't be accessed
* through WebGLRenderingContext. See https://github.com/AnalyticalGraphicsInc/cesium/issues/2989
*
* @private
* @readonly
* @enum {Number}
*/
var WebGLConstants = {
DEPTH_BUFFER_BIT : 0x00000100,
Expand Down
8 changes: 4 additions & 4 deletions Source/Core/WindingOrder.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*global define*/
define([
'../Renderer/WebGLConstants',
'./freezeObject'
'./freezeObject',
'./WebGLConstants'
], function(
WebGLConstants,
freezeObject) {
freezeObject,
WebGLConstants) {
'use strict';

/**
Expand Down
Loading

0 comments on commit 389cb1d

Please sign in to comment.