Skip to content

Commit

Permalink
Merge pull request godotengine#2182 from Kermer/patch-1
Browse files Browse the repository at this point in the history
Tiny typo
  • Loading branch information
reduz committed Jun 24, 2015
2 parents 30a94bc + 32d4b41 commit 48ac039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scene/2d/back_buffer_copy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ void BackBufferCopy::_update_copy_mode() {

switch(copy_mode) {

case COPY_MODE_DISALED: {
case COPY_MODE_DISABLED: {

VS::get_singleton()->canvas_item_set_copy_to_backbuffer(get_canvas_item(),false,Rect2());
} break;
Expand Down Expand Up @@ -58,7 +58,7 @@ void BackBufferCopy::_bind_methods() {
ADD_PROPERTY( PropertyInfo(Variant::INT,"copy_mode",PROPERTY_HINT_ENUM,"Disabled,Rect,Viewport"),_SCS("set_copy_mode"),_SCS("get_copy_mode"));
ADD_PROPERTY( PropertyInfo(Variant::RECT2,"rect"),_SCS("set_rect"),_SCS("get_rect"));

BIND_CONSTANT( COPY_MODE_DISALED );
BIND_CONSTANT( COPY_MODE_DISABLED );
BIND_CONSTANT( COPY_MODE_RECT );
BIND_CONSTANT( COPY_MODE_VIEWPORT );

Expand Down

0 comments on commit 48ac039

Please sign in to comment.